Loading collection data...
Collections are a way for you to organize kata so that you can create your own training routines. Every collection you create is public and automatically sharable with other warriors. After you have added a few kata to a collection you and others can train on the kata contained within the collection.
Get started now by creating a new collection.
I got the solution, however, I do think they should do a better job of clarifing their basic tests.
I'm not calculating the true factorials though. It is passing all the tests. For the case of n=100000, it is returning the correct number of trailing zero in less than 70ms. That was the longest test that ran. Where n<100000, the time it took to return was much faster.
That's for only one test case, this kata is testing for 100+ test cases, random ones included. By the way,
I made a soultion and I'm getting an excution time 12000ms out for some reason. When I set a console.time(), the function run less than 70ms for n = 100000.