Minimum Binary String Flips
Filed under OLA
The question
Given a target binary string, find the minimum number of flips needed to convert an all-zero binary string of the same size to the target, where a flip also causes all subsequent right bits to be flipped.
No write-up yet. Related questions below have one.
Related OLA questions
Collected from public candidate posts and coding forums. Updated Nov 2026.