ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
Consider the two strings ""(empty string) and "abcd". What is the edit distance between the two strings?
Correct Answer: B — 4
The empty string can be transformed into "abcd" by inserting "a", "b", "c" and "d" at appropriate positions. Thus, the edit distance is 4.