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.
kata has been edited to handle this properly
please review the code before i can close this issue
It happens sometimes after an update. This is a recurring problem on certain performance katas. It's hard to be adjusted in random tests because any update can mess it up.
Seems that switching to Node v10 increases speed of some solutions but some solutions still time out
Javascript, all my relatively fast solutions failed due to time out so I gave up and unlocked submitted solutions.
To my surprise all approved solutions I checked also timed out.
I tried FF and Chrome on Windows and Ununtu machines just to be sure.
What might be the problem?
the infos about the sizes of the arrays in the description are definitely wrong, tho. The random generator is creating arrays of sizes based on the
size
parameter, but that can go up to 2.05 times bigger thansize
. It's actually a lower bound, considering the implementation.I think arrays is Turbo Large Range are sometimes greater than 125000 elements.
Here is some log:
l1.length is 153838, l2.length is 224988
l1.length is 204945, l2.length is 158661
l1.length is 175427, l2.length is 185178
i dont see any problems with the size of both arrays
could you be maybe referring to the size of elements in the array?
Description says: "Range of possible inputs: 0 <=len(l1), len(l2) <= 125000"
In JS in Turbo Large Range I got lists with over 190000 elements