출처: https://leetcode.com/problems/reverse-integer/ Reverse Integer - LeetCode Level up your coding skills and quickly land a job. This is the best place to expand your knowledge and get prepared for your next interview. leetcode.com 주어진 정수를 반대로 출력하면 된다. ex 123 -> 321. class Solution { public: int reverse(int x) { if (0 == x) { return 0; } int64_t ret = 0; while (0 != x) { int64_t temp = (ret * 1..