Deloitte interview question

Coding question on number palindrome