Count distinct palindromic substrings of a string
Filed under OLA
The question
Given a string, find the number of different substrings that are palindromes.
No write-up yet. Related questions below have one.
Related OLA questions
Collected from public candidate posts and coding forums. Updated Nov 2026.