I got tired of solving these problems. So, I just wrote a solution that works for everything.
1643 Solvers
Increment a number, given its digits
566 Solvers
422 Solvers
133 Solvers
134 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!