CodingReported in a candidate post, Aug 2021
Max consecutive ones or zeros
Filed under Ivanti
The question
Find the maximum number of consecutive ones or zeros in a binary array.
No write-up yet. Related questions below have one.
Related Ivanti questions
Collected from public candidate posts and coding forums. Updated Nov 2026.