SoundHound Interview Question

Design an algorithm to determine whether a string is a palindrome.