Search
⌘K
Leetcode 647. Palindromic Substrings
Count the number of contiguous substrings of s that are palindromes. With |s| up to 1000, the core challenge is to enumerate/detect all palindromic centers efficiently (typical solutions run in O(n^2) or O(n) time).
Asked at:
Meta
Microsoft
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Mid April, 2026
Meta
Senior
Mid January, 2026
Microsoft
Mid-level
Same question as leetcode
Late October, 2025
Meta
Mid-level
Hello Interview Premium
Your account is free and you can post anonymously if you choose.