Leetcode Reverse Number Problem Solver