Code bug fixing and Vending Machine LLD
Filed under Amazon
The question
Find bugs in a given piece of code, suggest improvements, write use cases, and design a vending machine using the State Design Pattern with fully working code.
No write-up yet. Related questions below have one.
Related Amazon questions
Collected from public candidate posts and coding forums. Updated Nov 2026.