⭐Max Continuous Series of 1s

Thoughts
  • This one can be solved with Kaden's. But it's in two pointers category. So maybe not. Let's see.

The video doesn't cover the case where first few elements are zeros. This code handles this too.

Last updated