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
-
Generate N equally spaced intervals between -L and L
955 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
896 Solvers
-
1025 Solvers
-
Back to Basics - Find no. of elements in a matrix?
329 Solvers
-
207 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!