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.
Fix each mismatch by a pair flip or a run of adjacent flips, tracking whether a flip carries to the next position.