Why would the answer be 2 for that? There's no substring with a length of 2 that is a palindrome.
Loading collection data...
Why would the answer be 2 for that? There's no substring with a length of 2 that is a palindrome.