Qm

Buying six doughnuts from four types

A bakery offers 44 types of doughnut with plenty of each in stock. You buy a box of 66 doughnuts. Only how many of each type you take matters, not the order, and you may take several of the same type or none of some types.

How many different boxes of 66 are possible?

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

Distinct arrangements of the letters in BANANADistinct arrangements of the letters in BALLOONRaising a flag sequence with two colorsDistinct arrangements of the letters in MISSISSIPPILining up pennies, nickels, and dimes
All questions →