I have been trying to solve the problem tagged ENGLISH from the recent CodeChef January Long Challenge. Only two test-cases are giving a WA and unfortunately, I cannot come up with an edge-case for the problem.
My solution - https://www.codechef.com/viewsolution/29279821
If you have time, do help me out in fixing the bug. Thank you.