Enable Javascript in your browser and then refresh this page, for a much enhanced experience.
__lt__ solution in Clear category for Bigger Together by veky
def bigger_together(ints):
class NumStr(str): __lt__ = lambda x, y: x+y < y+x
order = sorted(map(NumStr, ints))
return int(''.join(reversed(order))) - int(''.join(order))
July 30, 2017
Comments: