Retro Rabbit interview question

Palindrome technical interview from leetcode