Ad
  • Custom User Avatar

    "exhausted" means "the array has become empty, and then that empty array has been used for the next test case, although it was supposed to be the same as before the first test".

  • Custom User Avatar

    The reason why your solution didn't pass is because you modified the input array dice, so after the first test in the section it was exhausted.

    Thanks for noting that out, I changed the tests so they won't be modified after each function call, now your solution should pass.