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.
Exactly what I thought. Multiplying by itself doesn't change number parity, so I think it might be a distraction.
This comment is hidden because it contains spoiler information about the solution
My favorite solution, nice! Concise and good use of Option.
I submitted this to Codewars GH, now.
https://github.com/Codewars/codewars.com/issues/242
Yeah, I'm kind of desperate over this as well. And too busy to write an actual bug report. Any help appreciated..
I'm really sad that Codewars' restrictions prevent you, and possibly others, from actually completing this Kata. I should maybe raise this to the maintainers.
I just re-ran my solution and it still works. Finished after 7700ms.
Performance really matters here.
You are correct.
I'm sick of seeing such "solutions".
This comment is hidden because it contains spoiler information about the solution
At least for JavaScript, there are many cheaters among those who solved the Kata. I propose another test case that checks the solution code for occurences of some of the bigger values in the source code for P(n) being tested.
Booooooo!
:)
High Five for same solution!
This is, by far, the best solution I've seen.
Loading more items...