the same backward or forward. pal(s) ➡ True if the length of s is 0 or 1 ➡ False if the first and last characters do not match
(assuming the length is greater than 1) ➡ pal(s’) otherwise, considering s’ the substring of s
without the first and last character Base case Recursive case Base case “kayak” “emma”