Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
First solution in Clear category for Bigger Together by mozurin
import functools
def bigger_together(ints):
ints = sorted(
map(str, ints),
key=functools.cmp_to_key(lambda a, b: int(a + b) - int(b + a))
)
return int(''.join(reversed(ints))) - int(''.join(ints))
July 4, 2018
Comments: