ObjectiveMcq
Print Protected
This page is protected for print. Use the website to view the content.
Consider the strings "monday" and "tuesday". What is the edit distance between the two strings?
Correct Answer: B — 4
"monday" can be converted to "tuesday" by replacing "m" with "t", "o" with "u", "n" with "e" and inserting "s" at the appropriate position. So, the edit distance is 4.