Requirements for the Vending Machine

Let's look at the requirements of the vending machine.

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 ...

Level up your interview prep. Join Educative to access 70+ hands-on prep courses.