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.
No regex solution.
This comment is hidden because it contains spoiler information about the solution
Genius!
Made with both simplicity and naming convention in mind, I'm aware that it shouldn't have that long line for the
smiley_valid?
method.I like this one better, not because it's easier to read and understand. I like the fact that it doesn't use regex, so it's easier to maintain. Even though, this snippet can be simplified a lot.
Not surprised that the best solution contains a regex.
Would be good to know what that
64
is.