Tried some minor optimization for the palindromic numbers problem, it is still too slow to solve the take 6666 test case.
Implement another solution for palindromic numbers using integer division/reversion/comparison, but it is still too slow to solve some tests.