Problem 3353 · Medium
Each neighbour pair that differs needs exactly one prefix shift; watch the bars level out one gap at a time.
Open the interactive visualisation