Ad
  • Custom User Avatar

    I've checked the control function and also passed the kata and it works fine. I see you've solved the kata, you can check it for yourself too.

  • Default User Avatar

    Your solution modifies the input so the reference solution gets an empty array... I modified the tests to prevent people who modify the input to pass. Thanks for your post. (Note: it is considered bad practice to modify the input; if you want to modify, do it on a copy.)