Duo Security Interview Question

How to find all the palindromes in a string