Question d’entretien chez Infosys

Write a program to compute palindromic substrings in a string