Loading practice questions
Which of the following gives the total number of ways of parenthesizing an expression with n + 1 terms?
Correct Answer: D — nth catalan number
Explanation:
The nth Catalan number gives the total number of ways of parenthesizing an expression with n + 1 terms.