Open In App

UGC-NET | UGC-NET CS 2017 Nov – III | Question 34

Like Article
Like
Save Article
Save
Share
Report issue
Report

What is memoization in the context of dynamic programming?
 

(A)

A technique to write memory-efficient programs. 

(B)

A way to avoid solving subproblems by storing their solutions and reusing them.

(C)

A process of converting recursive algorithms into iterative ones.

(D)

 A method of analyzing the time complexity of algorithms.



Answer: (B)

Explanation:

Memoization is a fundamental concept in dynamic programming that involves storing the results of expensive function calls and reusing them when the same inputs occur again. It is a technique used to optimize recursive algorithms by avoiding redundant calculations and dramatically improving their runtime efficiency. it is a way to avoid solving subproblems by storing their solutions and reusing them.

Hence(B) is the correct answer.


Quiz of this Question
Please comment below if you find anything wrong in the above post


Last Updated : 01 Jun, 2021
Like Article
Save Article
Previous
Next
Share your thoughts in the comments
Similar Reads