1.

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 programmingThe question was posed to me by my school principal while I was bunking the class.This key question is from Catalan Number using Dynamic Programming topic in chapter Dynamic Programming of Data Structures & Algorithms II

Answer»

The correct option is (d) RECURSION, Binomial Coefficients, DYNAMIC programming

The BEST I can explain: All of the mentioned methods can be used to FIND the NTH Catalan number.



Discussion

No Comment Found

Related InterviewSolutions