I updated the problem with additional test cases.
Increment a number, given its digits
562 Solvers
207 Solvers
526 Solvers
2321 Solvers
212 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!