This question already has an answer here:
There are 10 people waiting at the cinema theatre. 5 have Rs 50, 5 have Rs 100. The cost of the ticket is Rs 50. In how many ways can they stand in the queue such that there is no problem of change??
|
This question already has an answer here: There are 10 people waiting at the cinema theatre. 5 have Rs 50, 5 have Rs 100. The cost of the ticket is Rs 50. In how many ways can they stand in the queue such that there is no problem of change?? |
|||||
|
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
|
This is the same as the number of ways of balancing parentesis in a string of 10: Each '(' corresponds to somebody paying with Rs.50, an ')' to somebody paying with Rs.100 (you require that at each point there are no more ')' than '(' have shown up). This leads to Catalan numbers, your answer is $C_5 = \frac{1}{6} \binom{10}{5} = 42$. |
|||||||||||
|