Q.

Which of the following methods can be used to solve the longest palindromic subsequence problem?

A. dynamic programming
B. recursion
C. brute force
D. dynamic programming, recursion, brute force
Answer» D. dynamic programming, recursion, brute force
Explanation: dynamic programming, recursion, brute force can be used to solve the longest palindromic subsequence problem.
1.9k
0
Do you find this helpful?
11

Discussion

No comments yet