Library
Exercises
Games
Exams
Resources
Forum
News
Light
Log in
Sign up
Library
Exercises
Games
Exams
Resources
Forum
News
All courses
Library
Introduction to dynamic programming
Condition for dynamic programming
MCQ
What is the essential condition for memoization to provide a performance gain?
Possible answers
The problem must be solved with a loop rather than recursion
The subproblems encountered must repeat (overlap)
The problem must involve only integers
You must always use an array rather than a dictionary
Log in to reply
Exercise 1 of 4
Next exercise
Report a mistake or suggest an improvement