Q.

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

A. recursion
B. dynamic programming
C. both recursion and dynamic programming
D. greedy algorithm
Answer» C. both recursion and dynamic programming
Explanation: both recursion and dynamic programming can be used to solve the longest subsequence problem.
1.1k
0
Do you find this helpful?
1

Discussion

No comments yet

Related MCQs