Combinatorics the number of options for k different balls in n different cells
There are 'n' candies and 't' boxes. Find the number of ways to place the candies in the boxes for each of the conditions (given in the problem).