DSA Day 11/250: Max Consecutive Ones (LeetCode 485)

This problem is not about counting 1s. It’s about knowing exactly when to reset and when to record your result.