Flip bits so a binary string splits into runs of equal bits, each of even length. Minimise flips first, then the number of runs.
Flip bits so a binary string splits into runs of equal bits, each of even length. Minimise flips first, then the number of runs.
Opens with the full question.