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
-
Find all elements less than 0 or greater than 10 and replace them with NaN
15821 Solvers
-
Back to basics 8 - Matrix Diagonals
973 Solvers
-
581 Solvers
-
5265 Solvers
-
396 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!