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.
Looking at the tests, casting is apparently required
This comment is hidden because it contains spoiler information about the solution
it sould be fixed now, can you try again sir?
Not an issue
In that case no.
I'm glad that i could help you to get some really needed points:-)...
Thanks for the hint ;-)
deleted (codewars error, same message twice)
The problem is, you haven't written what you are thinking about;-)... So every code which passes the testcases whithout cheating surely is a solution. This was no cheat, your range for the primes was very small and there are no random tests... I haven't raised an issue, but gave you this "hint"...
should be better now
Why is reduce considered as greedy solution? I am fine with that. Maybe it can be considered in future katas. And since this is not an Issue, but a suggestion, I'll mark it as resolved. Thanks for your contribution!