Palindromic Substrings — 1-D DP
Count every mirror-image snippet hidden in a short lowercase word, tallying repeats at different positions separately.
1-D DP · Medium
Count every mirror-image snippet hidden in a short lowercase word, tallying repeats at different positions separately.
1-D DP · Medium