What is the Levenstein distance between "xxx" and "yyy"?

In my opinion 6. Converting "xxx" to "yyy" requires a total of six insertion and deletion operations: delete x and insert y, three times. Even according to the formula we had in the lecture  lcs(a, b) "longest common substring" -> length of the longest common substring that can be obtained by deleting characters …