Problem 2896 · Medium

Apply Operations to Make Two Strings Equal

Fix each mismatch by a pair flip or a run of adjacent flips, tracking whether a flip carries to the next position.

Open the interactive visualisation