Thanks, thats correct of course. I searched for something wrong in my solution. Now it's working... but it times out. :)
Why would the answer be 2 for that? There's no substring with a length of 2 that is a palindrome.
Does anybody know why the Java test expects 1 instead of 2 for the string "zyabyz"?
Loading collection data...
Thanks, thats correct of course. I searched for something wrong in my solution. Now it's working... but it times out. :)
Why would the answer be 2 for that? There's no substring with a length of 2 that is a palindrome.
Does anybody know why the Java test expects 1 instead of 2 for the string "zyabyz"?