Q.

What is the time complexity of the brute force algorithm used to find the longest common subsequence?

A. o(n)
B. o(n2)
C. o(n3)
D. o(2n)
Answer» D. o(2n)
Explanation: the time complexity of the brute force algorithm used to find the longest common subsequence is o(2n).
1.8k
0
Do you find this helpful?
17

Discussion

No comments yet