hemanth baliji's submission of Maximum Remaining | CodeChef