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.
The most "production-ready" solution, IMO. Really clean and efficient.
This is by far the most elegant solution. A+ for the loop comprehension.
CoffeeScript version simply does not work; appears to be missing tests on submit.
Very elegant solution. Couple of style suggestions: the for loop could be condensed to 'for i in source if i in caps' since the string form isn't needed, and 'True if b == [] else False' could be rewritten as 'return not b'.
This is the most straightforward approach, IMO.
This comment is hidden because it contains spoiler information about the solution
You don't necessarily have to import anything from java.lang, but good code nonetheless.
This comment is hidden because it contains spoiler information about the solution