Q.

Longest common subsequence is an example of                          

A. greedy algorithm
B. 2d dynamic programming
C. 1d dynamic programming
D. divide and conquer
Answer» B. 2d dynamic programming
Explanation: longest common subsequence is an example of 2d dynamic programming.
1.7k
0
Do you find this helpful?
12

Discussion

No comments yet