1004. Max Consecutive Ones III - Day 29/30 Leetcode June Challenge