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.
Wouldn't value and index be the same in this case?
I think you could skip the map step
Brilliant minds think alike! Kudos!
A clever way of using streams for this kata even if it is not the best sollution from several points of view (readability, memory usage, number of iterations)
Multiple ternary statements combined is ewwwww but terse :)