Palindromic Substrings
Medium📝 Description
Count how many palindromic substrings in a string
Input Format
A string
Output Format
Count of palindromic substrings
Constraints
1 ≤ s.length ≤ 1000
🔍 Sample Input
"aaa"
✅ Sample Output
6
Code Editor
Please login to run and submit code.
Results
Suggested Solution
Shortcuts: Ctrl+Enter to submit, Ctrl+Shift+R to run