Ad
  • Custom User Avatar

    This is weird. I return the empty array as required. The test case works on my computer but fails here. Maybe some bug with codewars. Thanks anyway!

  • Default User Avatar

    Returning an empty array is fine. You should try again: I upated the example test cases. If the tests pass, it should go through when submitting.

  • Custom User Avatar

    What is the function supposed to return when there is no match? I returned empty array, the tests pass but when I try to submit it says "should not have returned anything".