Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
old style sorting solution in Clear category for Bigger Together by flpo
from functools import cmp_to_key
def bigger_together(numbers):
sort = sorted(map(str, numbers), key=cmp_to_key(lambda x, y: int(x+y) - int(y+x)))
return int(''.join(reversed(sort))) - int(''.join(sort))
Aug. 3, 2017