Colorful balls

4

185 votes
Combinatorics, Dynamic Programming, Approved, Easy-Medium

?