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.
This comment is hidden because it contains spoiler information about the solution
I think this kind of answer should be discouraged. Sure, in the instruction for this problem, it is known ahead of time that 1 <= n <= 10, but I would encourage an answer that is not associated with a known variable. It does the trick for this answer, but if the requirements were to change, then you have to remember to come back and change this to add more primes to the array.
Wow, great answer. This answer demostraste that knowledge of a language is key. Great solution!
This comment is hidden because it contains spoiler information about the solution