Abhinav Jain's submission of Worst Case Analysis | CodeChef