Problem 767 · Medium
Fill even slots then odd slots with the most frequent letters so no two neighbours match.
Open the interactive visualisation