Available question text
Given a binary string, compute the minimum number of bit flips needed to make it monotone increasing (all 0's then all 1's). The core challenge is choosing the optimal split where you flip ones on the left and zeros on the right, solvable with a single pass using prefix/suffix counts or a simple DP in O(n).
Related questions
Continue with questions that share topics or the same question type.
Sources · 1 reference
These records explain where the question appears. A company tag or candidate report does not guarantee a future interview question.
Hello Interview · 1 record
No company association
Leetcode 926. Flip String to Monotone Increasing
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source