Adithya's submission of 4 - Collapse The Array | CodeChef