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 Solvers76
Suggested Problems
-
Create a vector whose elements depend on the previous element
796 Solvers
-
368 Solvers
-
239 Solvers
-
1756 Solvers
-
Find the sum of the largest two elements in a vector
118 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!