Q.

What is the time complexity of the Wagner–Fischer algorithm where “m” and “n” are the lengths of the two strings?

A. o(1)
B. o(n+m)
C. o(mn)
D. o(nlogm)
Answer» C. o(mn)
Explanation: the time complexity of the wagner–fischer algorithm is o(mn).
1.1k
0
Do you find this helpful?
13

Discussion

No comments yet