HackerEarth Zero subarray problem solution - TheCScience