Also reported as Max Consecutive Ones II · LeetCode 1004 · LeetCode 485
LinkedIn coding question, reconstructed from 5 candidate reports (November 2025 to October 2026). Candidates reported 2 follow-ups. The write-up includes a Python solution that passes 11 test cases.