Sponsored
Use these hints if you're stuck. Try solving on your own first.
Maintain a sliding window where there is at most one zero in it.
Solve with full IDE support and test cases