WA in Lapindrome

Can someone pls help me understand why I am getting WA for this solution.

https://www.codechef.com/viewsolution/35831271

I have sorted the substrings and compared them.

It fails on the Example Input - your output has to match the expected output exactly, remember!

1 Like

Thanks. I got the bug.