X Interview Question

Q: Given a string, how many unique palindrome substrings are there?