1.

If a problem can be broken into subproblems which are reused several times, the problem possesses ____________ property.(a) Overlapping subproblems(b) Optimal substructure(c) Memoization(d) GreedyI had been asked this question during a job interview.Enquiry is from Dynamic Programming topic in division Dynamic Programming of Data Structures & Algorithms II

Answer»

Correct answer is (a) OVERLAPPING subproblems

The best I can explain: Overlapping subproblems is the PROPERTY in which VALUE of a subproblem is used SEVERAL TIMES.



Discussion

No Comment Found

Related InterviewSolutions