Question d’entretien chez The Zappos Family

Finding all sub palindromes from given string.