Ad
  • Default User Avatar

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

  • Custom User Avatar

    Seems you're not going to get this through.

    The problem you've in your code is that arguments are never being used in the body of the function, and you are right that it works BUT it works because you've declared arrayA and arrayB to be global, it just don't care about the arguments(If you wanna verify this: pass "apple", "oranges" to the function, it would still work -- you get the idea I guess.)

    You should replace arrayA with a and arrayB with b.

  • Custom User Avatar

    @Justletmein, can you please tell us where do you think the arguments of the function a, b are being used?

  • Default User Avatar

    Any salt you're tasting is surely your own tears.
    Fix your code instead of blaming everything else 🤣
    If you're unsure what's wrong then as a tip: don't state as a fact that it's right.
    I did however still point out the problem.

  • Default User Avatar

    your code completely ignores input, it does not work.
    when you test something locally you need to test the same thing as the tests test, otherwise the comparison is pointless.