Qm

Handing out ten candies among four kids

You give out 1010 identical candies to 44 children. Any child may receive any number, including zero, and the candies are indistinguishable, so only how many each child gets matters.

In how many ways can the candies be distributed?

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

Placing eight apples into three basketsGiving twelve pencils so everyone gets oneSplitting fifteen tokens into three pilesBuying six doughnuts from four typesWill every room get a guest?
All questions β†’