tonyouyang/leetcode — pull request #1 by pigoneand (2013-09-07 01:47:01+00:00)
Title: Update palindrome_number.cpp

my solution;)
I think call the f function recursive is not a good idea,
you can divide the problem into two parts
1: get the digits of the integer in array representation
2: judge whether an array is palindrome or not
This makes the solution clear and simple.