Pregunta de entrevista de Infosys

Coding Question Q.)Generate all possible Palindrome for the given input string eg. sample test case Input: MALAYALAM Output: MALAYALAM ALAYALA ALA ALA ALA at the end Do you have any questions?