Minimum Flips to Make the Binary String Alternate
Minimum Flips to Make the Binary String Alternate lets you rotate a binary string and flip characters, then asks for the fewest flips needed to make adjacent characters alternate.
We'll cover the following...
We'll cover the following...
Statement
Given a binary string s, the following two operations can be performed in any sequence:
-
...