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 is indeed a genius solution! Simply perfect
Indeed flawless
Wow, when I am looking on it, it is briliant (simple and easy to understand) solution, just wow. Perfect job. I really like it.
This is exactly what I would do if I was writing this for work
This is a fantastic solution - by far the cleverest and most succinct option.
I was thinking about the same solution, but on every iteration you calculate calcValue(max). So I left the idea behind. althou I was thinking about passing object with { bestWord, bestScore }, but yea.. it think it would complicate readabilty.