Examveda

Which of the following implementations of Catalan numbers has the smallest time complexity?

A. Dynamic programming

B. Binomial coefficients

C. Recursion

D. All have equal time complexity

Answer: Option B


Join The Discussion

Related Questions on Dynamic Programming in Data Structures