J Julipkq New member Sep 16, 2021 #1 What is the space complexity of the above implementation of 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)
What is the space complexity of the above implementation of 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)
N Nguyễn Thị Thuý New member Sep 16, 2021 #2 Answer: C Explanation: The space complexity of the above Wagner–Fischer algorithm is O(mn). Upvote 0 Downvote