Problem 1888 · Medium

Minimum Number of Flips to Make the Binary String Alternating

Find the fewest flips that turn some cyclic rotation of a binary string into an alternating string. The visual slides a window across the doubled string and tracks the flip counts for both alternating patterns.

Open the interactive visualisation