Anonymous user
Largest int from concatenated ints: Difference between revisions
m
→Python: Try all permutations method
Line 286:
===Python: Try all permutations method===
<lang python>from itertools import permutations
def
return max(int(''.join(n) for n in permutations(str(i) for i in x)))
|