LeetCode – Palindrome Number Solution MATHS ONLY (#9) in TypeScript/JavaScript

Cover Image for LeetCode – Palindrome Number Solution MATHS ONLY (#9) in TypeScript/JavaScript
William Forty
William Forty

I'm working through problem #9 on LeetCode using TypeScript as the language of choice, but in this solution, converting to a string is not allowed!