MindTickle | Virtual Onsite - LLD + MC | Vending Machine
Anonymous User
568

Duration: 1hr 30mins
Design a Vending Machine.

  1. Display welcome message with product price information
  2. On entering product code, display the price
  3. On entering the amount, return the change(Minimum number of coins. (Algo not needed))
  4. Also implement the admin flow of things to manage inventory and sending alerts when stock goes empty.

On discussing the class and method modelling, asked questions challenging the design and then asked to implement it completely.

Discussed the implementation and dry run through all the flows.

Comments (0)