Question:

If the recursive call keeps calculating the same things over and over again, we can use _______ which stores partial results already calculated and to be used again.

Show Hint

For problems with overlapping subproblems, dynamic programming is often the best approach to avoid redundant calculations.
Updated On: Jun 16, 2025
  • Divide and conquer algorithm
  • Recursive
  • Dynamic Programming
  • Greedy method
Hide Solution
collegedunia
Verified By Collegedunia

The Correct Option is C

Solution and Explanation

Dynamic programming stores partial results to avoid recalculating the same values multiple times. This technique is especially useful in problems like the Fibonacci sequence, where overlapping subproblems can be solved more efficiently by saving results. Divide and conquer algorithms also solve subproblems but do not typically store intermediate results.
Was this answer helpful?
0
0