Problem 647 · Medium
Expand from each center (odd/even) and count all palindromes; O(n²) time.
Open the interactive visualisation