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.
'looks like u solved it'
And you cannot use sortedcontainers on codewars....
ha! that's awesome. I used to watch TV, play online poker, sleep... no more!
After having lost two days, looking on how to optimize my code on a kata where a very specific none intuitive purely mathematical optimization was needed (of course NO MENTION of this in the description), this kata was pure joy.
Basic logic and coding skill only were necessary.
I have trouble concentrating when playing video game( I get bored), when in the past I was able to play for hour on end, and when not playing I was thinking about the games.
Coding does that for me now :-) .
Thanks MMMAAANNN, I look at your kata yesterday evenning, I though about it at work, found the logical step to follow and implemented my solution this evenning. Remind me of playing Dagerfall as a teenager.
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