Low Level Design (LLD) Coding

Low Level Design (LLD) Coding

Design (LLD) a Vending machine - Machine Coding

Design (LLD) a Vending machine - Machine Coding's photo
·Feb 20, 2022·

1 min read

Subscribe to my newsletter and never miss my upcoming articles

Play this article

My project (1).png

Vending Machine

What is Vending Machine ? A vending machine is an automated machine that provides items such as snacks, beverages, cigarettes, and lottery tickets to consumers after cash, a credit card, or other forms of payment are inserted into the machine or otherwise made.

You need to design a Vending Machine which

  1. Accepts coins of 1,5,10,25 Cents i.e. penny, nickel, dime, and quarter.
  2. Allow user to select products Coke(25), Pepsi(35), Soda(45)
  3. Allow user to take refund by canceling the request.
  4. Return the selected product and remaining change if any
  5. Allow reset operation for vending machine supplier.

Rough Solution (LLD-Machine Coding)

Solution will be uploaded by 21 feb 2022 (IST)

Share this