Minimum Flips to Make the Binary String Alternate
Minimum Flips to Make the Binary String Alternate asks you to rotate the string and flip characters as needed, returning the fewest flips required.
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:
-
...