Practice
/

Palindromic Substrings

Palindromic Substrings

Given a string, return the number of substrings that are palindromes. Each unique start-end position counts as a different substring even if the characters are the same.

Premium Content

Create a free account, then unlock this problem and the entire premium catalog with a one-time CodeSnatch Premium purchase.

Already have an account with premium access? Sign in to continue.