Qm

Splitting fifteen tokens into three piles

You split 1515 identical tokens into 33 labeled piles (pile A, pile B, pile C). A pile may be empty.

How many ways can this be done? (Equivalently, how many non-negative integer solutions does a+b+c=15a + b + c = 15 have?)

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

Handing out ten candies among four kidsPlacing eight apples into three basketsGiving twelve pencils so everyone gets oneBuying six doughnuts from four typesWill every room get a guest?
All questions β†’