Q.

Longest palindromic 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 palindromic subsequence is an example of 2d dynamic programming.
1.2k
0
Do you find this helpful?
1

Discussion

No comments yet