Advanced Algorithms Quiz 3
Advanced Algorithms Quiz 3
Ans b
Ans: d
6. If an optimal solution can be created for a problem by constructing optimal solutions for its
subproblems, the problem possesses ____________ property.
a) Overlapping subproblems
b) Optimal substructure
c) Memoization
d) Greedy
Ans: b
7. 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) Greedy
Ans: (a)
8. When dynamic programming is applied to a problem, it takes far less time as compared to
other methods that don’t take advantage of overlapping subproblems.
a) True
b) False
ANS: A
A. Parsing
B. Hash table
C. Divide and Conquer algorithm
D. Greedy algorithm
Ans. C
Ans. d