← All topics
Counting and Probability

Stars and bars

Counts solutions to x1+…+xk = n in non-negative integers as C(n+k−1,k−1); models distributing identical objects into distinct bins.

0
Contest appearances
100
Practice problems
1–10
Difficulty levels

Drill this topic

Sign in and tell the coach to drill this knowledge point — it picks questions matched to your current level.