Pergunta de entrevista da empresa Flipkart

Print all palindromic substrings (should contain only alphabets) in a given sentence.