Ad
  • Custom User Avatar

    Do you mean one of the solutions in Solutions section or a solution you came up with? If it is the later, that's expected if your code is not fast enough.

  • Custom User Avatar

    Why are you returning this.l[i] in the middle of your loop?

    Also, note that you have a typo. Should be l.length, not l.lenght.