Learn
Practice
Newsletter
Resources
Animations
New
F
Toggle theme
0
F
0
Toggle menu
← Back to All Animations
Reverse Integer
Bookmark
Input
Example 1
Negative
Trailing Zero
Overflow
Custom
x
=
123
x
1
2
3
Peel the last digit of x onto result
algo
master
.
io
Step:
Start: reverse the integer 123
0 / 17
Input
Example 1
Negative
Trailing Zero
Overflow
Custom
x
=
123
0 / 17
x
1
2
3
Peel the last digit of x onto result
algo
master
.
io
Step:
Start: reverse the integer 123