In which of the following cases will the edit distance between two strings be zero?
When one string is a substring of another
When the lengths of the two strings are equal
When the two strings are equal
The edit distance can never be zero
(C) When the two strings are equal
Explanation:
The edit distance will be zero only when the two strings are equal.