Meta Interview Question

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