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). |
Login to Continue
It will take less than 2 minutes