Couldn't find corner case...!

Hey… Can someone please help me to find the corner case which I’m missing in this Solution. It would be a great help

Solution - CodeChef: Practical coding for everyone