Talk:Next highest int from digits: Difference between revisions

no edit summary
(Using Permutations)
No edit summary
Line 48:
 
==Using Permutations==
Don't sort the permutations and then search for the specified condition. Map the permutations subtracting the original value. Reduce the MapMapping to the smallest result greater than -10. If the final result is 0None return 0 else return the original value plus the final result.--[[User:Nigel Galloway|Nigel Galloway]] ([[User talk:Nigel Galloway|talk]]) 14:46, 22 February 2020 (UTC)
2,171

edits