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
-
Project Euler: Problem 7, Nth prime
1755 Solvers
-
Convert a vector into a number
615 Solvers
-
We love vectorized solutions. Problem 1 : remove the row average.
888 Solvers
-
1487 Solvers
-
552 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!