Count Palindromic Substrings Leetcode Javascript Questions Basic