Algorithm To Reverse A Number In Leetcode Solutions