Problem 3088 · Medium
Fill positions left to right with the smallest letter that still lets the mirrored pairs be completed.
Open the interactive visualisation