Q. |
Which of the following methods can be used to find the nth Catalan number? |
A. | recursion |
B. | binomial coefficients |
C. | dynamic programming |
D. | recursion, binomial coefficients, dynamic programming |
Answer» D. recursion, binomial coefficients, dynamic programming | |
Explanation: all of the mentioned methods can be used to find the nth catalan number. |
Login to Continue
It will take less than 2 minutes