BitTitan Interview Question

The problem was to find the smallest palindrome in a given string