Broadcom Interview Question

palindrome number program?