@cbmbbz Truly interesting solution.

I have a question for anyone who would like to answer, though. Since this logic runs only till half the length of the number, I would expect it to take less time than reversing the whole integer and then comparing. However, I have run both the solutions several times, and I can see that more than once, reversing the whole integer took less time than this logic. Could it possibly be because, with this logic, we need to additionally check for multiples of 10 (right at the start) and the case of even/odd ?

Palindrome Number