System design interview question
Design ATM
Design an ATM machine using the State pattern to model idle, card-inserted, PIN-verification, and transaction states with secure cash dispensing.
Practice this question step by step with an AI interviewer that reviews your requirements, your architecture and your trade-offs, and scores the design.