Question

Dynamic Programming is preferred over recursion when:

A There are no overlapping subproblems
B There are overlapping subproblems and optimal substructure
C Problem is linear
D Problem is non-deterministic
E Problem is unsolvable
Practice Next

Hey! Ask a query