Epic Interview Question

Palindrome coding question need to solve