Designing a vending machine: the object-oriented design interview, explained
Designing a vending machine: the object-oriented design interview, explained "Design a vending machine" looks like the easiest prompt in a low-level design interview , and that is exactly why candidates fumble it. There is no clever algorithm to reach for, so the whole round rests on one thing: can you model a machine whose behaviour depends on what just happened to it ? Insert a coin and the…
We haven't written up this one. Dev.to has the full story — the link below goes straight to it.