Sail E0 Webinar
Question
Consider the two strings "(empty string) and "abcd. What is the edit distance between the two strings?
Options:
A .  0
B .  4
C .  None of the mentioned
D .  Cannot be determined
Answer: Option B


The empty string can be transformed into "abcd by inserting "a, "b, "c and "d at appropriate positions. Thus, the edit distance is 4.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers