Problem 2914 · Medium

Minimum Number of Changes to Make Binary String Beautiful

Each consecutive pair of characters starting at an even index must match; each mismatched pair costs one change.

Open the interactive visualisation