So I am trying to devise a spin off of the Levenshtein algorithm, where I keep track of what transformations I did in the string(inserted a, or substitute a for b).
Example:
Basically, say I am computing the edit distance of "bbd" and "bcd"
The edit distance will be 1 and the transformation will be "substitude b for c"
Question: How would I approach this problem since the implementations i've seen do not concern themselves with knowing what kind of operation it was but only the total cost?