Available question text
Given a binary string and up to numOps bit flips, minimize the length of the longest contiguous block of identical characters after at most numOps operations. The core challenge is optimally allocating flips to split long runs (typically solved by binary-searching the target maximum length and using a greedy/DP feasibility check).
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 3398. Smallest Substring With Identical Characters I
Reported date not specified · 0 source reports
Source snapshot: Nov 12, 2026
View source