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.
wow that's good
Obviously, given that you have max, you can implement a prime number sieve if you want. There are a zillion kata on here that ask you to do just that.
not really... hard coding a prime list is not a great idea
One'd better blame the kata set up, which does not enforce the use of regex, than the warriors who solved it. Worst of all: this kata is available in Haskell, a language that has no regular expressions implemented natively :D
This comment is hidden because it contains spoiler information about the solution
@zebulan who hurt you so badly?
I think he's still stuck.
This comment is hidden because it contains spoiler information about the solution
You just deleted the equal signs. Did you really save that much space?
However, it's still not best practice for me. It's just a trick.
Argumentum ad populum. Nuff said.
This comment is hidden because it contains spoiler information about the solution
Because in task was written to remove strings - not to keep only int.
@yoyotooie:
I agree with you. I cannot believe it. Way easier than some of the 7kyu kata i solved in the last couple of days.
Loading more items...