Hey guys, I'm cant seem to find a mistake in my code in problem 559B Equivalent Strings, I'm using recursive functions and expected TLE but am getting WA for test case 25. Can tell me what I did wrong? Sorry for my bad English, Thanks in advance :D https://codeforces.net/contest/559/submission/46421640
The length of a string (or a substring) can be odd and so you can't split it on two parts of equal length. In the code you forcely split the strings with odd length.
You're right. Thanks! :)