The set of integers consists of zero (0), the positive natural numbers (1, 2, 3,...), also named whole numbers or counting numbers, and their additive inverse (the negative integers, i.e., −1, −2, −3,...).The set of integers is often denoted by a boldface Z (" Z") or blackboard bold { Z }standing for the German word Zahlen ([ ˈtsaːlən ]," numbers").Z is a subset of the set of all rational numbers Q, in turn a subset of the real numbers R. like the natural numbers, Z is countably infinite.

COMING SOON!

```
class Solution {
public:
int reverse(int x) {
// Start typing your C/C++ solution below
// DO NOT write int main() function
bool minus = false;
if (x < 0) {
x = -x;
minus = true;
}
int res = 0;
while (x) {
res *= 10;
res += x % 10;
x /= 10;
}
return minus ? (-res) : res;
}
};
```