Requirements for the Vending Machine
Let's look at the requirements of the vending machine.
We'll cover the following
In this lesson, we’ll list down the requirements of our vending machine problem. This is a very crucial step as requirements define the scope of a problem, so getting them right from the interviewer and understanding them well will make the design of the rest of the problem smooth and easy.
We’ll use the notational convention to identify each requirement with a unique label "Rn", where "R" is short for Requirement and "n" is a natural number.
Requirement collection
The requirements for the vending machine problem are defined below:
Level up your interview prep. Join Educative to access 80+ hands-on prep courses.