Ad
  • Default User Avatar

    I think it's due to the original array getting popped and then the tests don't like the empty array. Your solution is blazingly fast tho.

  • Custom User Avatar

    Your solution is probably taking too long to calculate the factorials because there are alot more tests than the ones you see, try optimizing your code or take a different approach?