How many different palindromes appear as substrings of a string? Equal substrings at different positions count once.
How many different palindromes appear as substrings of a string? Equal substrings at different positions count once.
Opens with the full question.