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.
You don't need to sort the array. You can find the minimum value in the first loop. And the max value can be calculated.
Instead of "Arrays.asList(arrayOfArrays).stream()", why not simply use:
Arrays.stream(arrayOfArrays)
Same for "Arrays.asList(arr).stream()", which can be replaced by:
Arrays.stream(arr)