Pergunta de entrevista da empresa Meta

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