Count Palindromic Substrings Leetcode Javascript Interview Questions