Problem 3088 · Medium

Make String Anti-palindrome

Fill positions left to right with the smallest letter that still lets the mirrored pairs be completed.

Open the interactive visualisation