Ad
  • Default User Avatar

    I have the same problem, the test is broken.

  • Default User Avatar

    Thanks for trying to clarify the problem with the sort for same weights but I still don't think that's what the author meant.

    This is from the test window:
    Test.assert_equals(order_weight("2000 10003 1234000 44444444 9999 11 11 22 123"), "11 11 2000 10003 22 123 1234000 44444444 9999")

    You're right about the 11 11 2000 but then why aren't the next two numbers with same weight in ascending order (10003 22) ?