Sandeep Yadav's submission of Alternating subarray prefix | CodeChef