Anonymous user
Largest int from concatenated ints: Difference between revisions
m
→Python: Sort on comparison of concatenated ints method
Line 112:
# Python 3
from functools import cmp_to_key
def maxnum(x):
return ''.join(sorted((str(n) for n in x),
|