Ad
  • Custom User Avatar

    Please move your println statements to the beginning of the function. The problem is in your code, but you don't see it, because you don't log the input for failing test. nil input isn't the same as [].

  • Default User Avatar

    Golang

    Issue with basic case. Whether I return true or false, the test case flips to the other expected value. It is only this one test case; therefore, I do not think it is my code. All randoms pass every time. Its the basic test that contains 36100 in array2. The expected should be false as there is not a "Same" value in array1.

  • Default User Avatar

    making the inner array and initalizing it first is generally faster than using the built-in append function

  • Default User Avatar

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