Oracle Interview Question

Asked about sample palindrome logic