Ad
  • Custom User Avatar

    Hello.

    I have passed the tests, but im stuck with the eficiency.
    At the moment i can only get O(n^2).
    I have tried to sort the array in desc and return the first solution but that didn´t work.

    ¿Any algorithmic hint?

    Thx u vry much

  • Custom User Avatar

    It happened to me too¡