Amazon Interview Question

1. Find all palindromic substrings of a given string Input : abba Output: bb, abba