翻译翻转一个整型数例 1:x = 123, 返回 321例 2:x = -123, 返回 -321原文Reverse digits of an integer.Example1: x = 123, return 321Example2: x = -123, return -321Have you thought about this? (来自 LeetCode 官网)Here are some good questions to ask before coding.Bonus points for you if you have already thought through this!