Todo Faster solution exists if you just use math References https://leetcode.com/problems/palindrome-number/description/