Problem 2134 · Medium
Group all ones into one circular block using the fewest arbitrary swaps.
Open the interactive visualisation