Max Consecutive Ones
Last updated
Was this helpful?
Last updated
Was this helpful?
In this question we are asked:
Given a binary array, find the maximum number of consecutive 1s in this array.
Click "Answer" tab to see the answer. Try to do it yourself first!