AutoZone Interview Question

check if string is palindrome