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 had the same problem, the tests contain lists one million in length, i tried running my solution on my locally on my system for a list I generated randomly, it took forever to run. I think we just need a more optimised solution, my solution has a time complexity of O(n**2) meaning for a list of length 1000000 my task perfoms 1000000 squared (one trillion) operations. At this moment i haven't thought of a more optimized solution and i might just resolve to looking up solutions eventually.
got the same problem "multipleOf3Regex.test is not a function"
it means your solution is wrong/not working for edge cases
It'd be helpful to have more test cases in the main "Details" section that way we don't write an algorithm and then have to change it once we figure out that there are test cases we haven't accounted for
such as
"https://www.3bdnxqyar-dczn.br/index.php" (has wwww after the //)
or "kpxfxwp9kh3en.us" (has no prefix www or //)
You might want to re-read the problem description, as timeouts are likely due to inefficient approaches.
10,000,000 elements to parse through requires a method that doesn't need to loop back over previous elements that frequently...
Passed the tests, but then when I submit it times out : (
buy more servers, I don't wanna change my algorithm lol.