rajitha's submission of Maximum Remaining | CodeChef