I am not sure this method can be called a cipher since there is probably no way to recover the original number. You should probably call it a hash.
yeah, that's right. Thanks, I changed it to hash and changed some test cases too.
Increment a number, given its digits
562 Solvers
1052 Solvers
579 Solvers
512 Solvers
583 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!