rewrite leetcode reverse integer