Which of the following implementations of Catalan numbers has the largest space complexity(Don’t consider the stack space)?
(a) Dynamic programming
(b) Binomial coefficients
(c) Recursion
(d) All have equal space complexities
This question was posed to me in an international level competition.
My question comes from Catalan Number using Dynamic Programming in division Dynamic Programming of Data Structures & Algorithms II