Domanda di colloquio di Meta

Make a palindrome algorithm? Tell it's complexity etc.