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.
60 passed, only missed one
Expected: '[949861, 698230]', instead got: 'null'
Anyone the same?
What could be the issue on my code?
This comment is hidden because it contains spoiler information about the solution
now I see that more options appear...
added the null version and now I don't calculate all the prime numbers just the first 100 (enough to find the solution and much faster)
anyway, it says timeout...
I don't know, it says that it takes too much time when it solves everything.
What could I edit or change? (I still need to learn a lot I guess haha)
You can see my code right?
If it doesn't pass, nothing is solved:-) Not an issue of the kata since 533 people passed the JS kata. Something wrong in your code?
I mean, everything seems to be solved but it doesn't pass :(
This comment is hidden because it contains spoiler information about the solution
Alright, thanks!
:)
Brute force will not work. There is a mathematical solution that you can find with basic research. Good luck!
This comment is hidden because it contains spoiler information about the solution