Ad
  • Default User Avatar

    Hmmm I have an O(1) solution, but the numbers get really big before I can convert to int and perform the modulo operation ...

    any suggestions?

  • Default User Avatar

    is mispelled(n) misspelled on purpose? :)

  • Default User Avatar

    I also don't agree with the last example test.
    [46, 78, 574, '287', '3', '423', '69', 'Apple', 'Grape', 'Peach'] should equal [46, 78, 574, '3', '69', '287', '423', 'Apple', 'Grape', 'Peach']
    When sorting '287' comes before '3' alphabetically.
    It says specifically to treat numbers in string format as strings.