1. Computer Science Engineering (CSE)
  2. Design and Analysis of Algorithms
  3. What is the time complexity of the brute...
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).

Discussion