Reverse digits of a number.
For example, return 321 for the input 123 .
The left-hand zeros can be discarded. For example, input 10 will return 1 .
Solution Stats
Problem Comments
Solution Comments
Show comments
Loading...
Problem Recent Solvers77
Suggested Problems
-
Increment a number, given its digits
690 Solvers
-
359 Solvers
-
Flip the main diagonal of a matrix
927 Solvers
-
456 Solvers
-
find the maximum element of the matrix
542 Solvers
More from this Author3
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!