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.
String isn't mutable, every time you change string, you actually create a new string in string pool. That is why, it's better to save index of maximal string in array of strings. But your solution is still clever and understandable.
in opposite to Stream.API your solution is easy to understand
This comment is hidden because it contains spoiler information about the solution
This comment is hidden because it contains spoiler information about the solution
I like your solution : no import.
I like your use of whitespace.
Good aproach (not to long and not to short).
But i wouldn't make a for loop in an for loop. The inner for should be extracted to a method.