Ad
  • Custom User Avatar

    warning: noob here
    given a VERY long unsorted array wouldn't it be better to actually sort it then set the for loop condition to numbers[i]<target ?

  • Custom User Avatar

    I tested your code and it returns wrong output for the input: A man, a plan, a canal - Panama (Returns false). You must remove all non-alphanumeric characters, including all symbols and spaces. This challenge lacks tests.

  • Custom User Avatar

    Overcomplicated, two sum is a simple and basic problem; one could solve it with 5 lines of code.

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution