InterviewDB
Experience
Jihanki: Vending Machine State Machine Implementation
phone
Interview Experience
Problem Implement a vending machine (Jihanki is Japanese for vending machine). The machine accepts coins, displays available items with prices, dispenses an item if enough coins have been inserted, and returns change. Follow-ups How would you enforce valid coin denominations (e.g., only 5, 10, 25, 50, 100 cents)? How do you handle concurrent access if multiple users interact simultaneously? Extend to support a maintenance mode that blocks purchases and allows restocking. How would you model this…
Full Details
🔒
Unlock all Ziphq questions
Full insider details, leaked discussions, and candidate experiences.
Get full access — $100 a year, unlimited accessAbout This Question
This is a candidate experience report from a ziphq interview during the phone round.
More Ziphq Interview Questions
InterviewDB
Catch Me If You Can: Optimal Pursuer Movement on a Grid
InterviewDB
Conditional Check: Evaluate Boolean Expressions with Variables
InterviewDB
Ziphq SWE Phone - Convert Email
InterviewDB
Display Strings: Format and Wrap Text to Fit a Fixed-Width Screen
InterviewDB
Furthest Distance Reachable with Limited Fuel Stops