Adarsh Kumar's submission of Maximum Remaining | CodeChef