What is the minimum distance between learn and dream? Write out each operation needed and how the word changed
l→d: 18 letters
e→r: 13 letters
a→e: 4 letters
r→a: 9 letters
n→m: 25 letters
The distance is 69.
The operations:
learn→dearn
dearn→drarn
drarn→drern
drern→drean
drean→dream.
Comments
It real help to solve coding assignment
It really helps
Leave a comment