Search the courses, subjects, tracks, games and features, or jump straight to a page.
4 cards from this section. Quick, good the night before a test.
What is memoization?
Think about how we save information for later use.
Why is the Fibonacci sequence a good example for these techniques?
Recall how Fibonacci numbers are defined.
What is memoization primarily used for?
Think about its purpose in optimizing algorithms.
Dynamic programming iteratively fills a table, true or false?
Consider how this differs from recursion.
Explain how dynamic programming could be adapted for solving the Traveling Salesman Problem.
Think about how you could record already computed paths to save time.
Implement and explain a memoization strategy for calculating factorials, and compare its efficiency with iterative methods.
Consider the relationship of factorial numbers to their inputs.
5 more questions in this section. Enroll free to practise them all.
Enroll free