Search the courses, subjects, tracks, games and features, or jump straight to a page.
2 cards from this section. Quick, good the night before a test.
What is dynamic programming?
Think of how recursive functions work.
What is the base case in the factorial function?
Consider what the output should be for zero!
What does dynamic programming generally focus on?
Think about how dynamic programming reduces repeated calculations.
True or False: Memoization is a technique that stores previously computed results.
Consider whether ideas have been repeated in your study.
Given an array of weights and values, determine how to maximize value with a weight limit using dynamic programming.
Think of how you can compute values iteratively based on smaller weight limits.
Devise a dynamic programming algorithm to find the longest common subsequence of two strings.
What relationships can you derive between characters of the strings?
4 more questions in this section. Enroll free to practise them all.
Enroll free