First, we will take a look at the problem statement, Given a binary array nums, return the maximum number of consecutive 1's in the array. Now take a look at the constraints: 1 <= nums.length <= 10<sup>5</sup> This means that the array nums can hav...

Markdown supported · ⌘↵ to post
No responses yet.