Problem 3800 · Medium

Minimum Cost to Make Two Binary Strings Equal

Fix mismatched bits with flips, swaps inside a string, or cross swaps at the same index, choosing the cheapest pairing of mismatches.

Open the interactive visualisation