Broadcom interview question

palindrome number program?