Qm

Building a lunch box from three trays

A food truck lets you build a lunch box by choosing exactly one item from each of three trays: 44 mains, 33 sides, and 55 drinks.

How many different lunch boxes can you build?

Your answer

Solving needs a free account

Answers, streaks and solutions unlock when you are signed in. Reading the question and the hint stays free.

Discussion

Sign in to join the discussion · reading is open to everyone

💡 Discussion rules

  1. No full solutions here. Hints and approaches only.
  2. Complexity, edge cases and intuition are the point.
  3. Interview experiences are welcome. Respect your NDAs.

Loading discussion…

Learn the concepts

The theory behind this question.

Related questions

Customizing a phone case in three stepsA four-symbol locker code with repeats allowedAssembling a robot from four part binsA sandwich with optional toppingsWill every room get a guest?
All questions →