647. Palindromic Substrings
Medium
Input: s = "abc"
Output: 3
Explanation: Three palindromic strings: "a", "b", "c".Input: s = "aaa"
Output: 6
Explanation: Six palindromic strings: "a", "a", "a", "aa", "aa", "aaa".Last updated
Input: s = "abc"
Output: 3
Explanation: Three palindromic strings: "a", "b", "c".Input: s = "aaa"
Output: 6
Explanation: Six palindromic strings: "a", "a", "a", "aa", "aa", "aaa".Last updated