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
This is the equivalent of including the schematics of an oven in the recipe for a cake
Pretty clever nevertheless
This solution is a partial function.
high " "
will raise an exception.I'm not sure how it made it through the testing because my first solution failed for this exact reason.
Maybe the tests have been updated?
On that basis I don't think it should be upvoted as best practices. It only needs a strategically placed
([] :)
to fix though.Great solution!
I like this. I didn't know about the maximumBy so I had to zip the words with their scores, sort and find the head. Thanks for making me better at haskell :)
smart