Examveda

In Dynamic Programming, what is the purpose of initializing the table or array with base cases?

A. To simplify the recursion.

B. To directly solve the problem.

C. To provide starting values for building up the solution.

D. To ensure that all entries are zero.

Answer: Option C


Join The Discussion

Related Questions on Dynamic Programming in Data Structures