Ad
  • Custom User Avatar

    You are mean! :)

    Some random tests have been added.

  • Custom User Avatar

    Hi.

    There was a "performance" test but it was apparently not sufficient for your solution to time out.

    I have slightly modified this test case, it should be good now.

    Thanks for pointing that out! :)

  • Custom User Avatar

    Hi - I've updated the kata and restricted the random tests to relatively small numbers, which I think may have been the cause of the problem. Hope it works, if not let me know.

  • Custom User Avatar

    Thanks for feedback - there seems to be an issue with very large numbers. I'll take a proper look tomorrow and see if I can fix it.

  • Custom User Avatar

    When removing nodes or appending lists a new list is created, so the original list is not mutated. However, you want to do the least amount of work, so share data wherever possible. If you look at your append function, you might be able to see that you are doing this there already. Is there a way that you could implement something similar for remove?