Ad
  • Default User Avatar

    i think he is right, it used to be specified that the input was sorted, and this is what most languages seem to be doing, but the C++ random tests generate unsorted vectors. this should be put back in the description, and the C++ tests should be fixed, see here

  • Custom User Avatar

    The description is shared among all languages, so it is not the issue ! I also passed the tests in C++ with my initial working solution.