Problem 854 · Hard
Breadth-first search over strings, fixing the first mismatch with one swap per level.
Open the interactive visualisation