Microsoft Interview Question

Find all sub palindromes of a string