Duplicate Quesition


#1

This is a duplicate question. Max Continuous Series of 1s is essentially the exact same question. You should consider removing it.


#2

We have to find length here, and there we have to find indexes of 0 of largest sequence.