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.
Yes! Exactly what I was about to point out :)
Unpacking with star/asterisk operator
This comment is hidden because it contains spoiler information about the solution
I checked 1st 3 first, after it's just simple enumerate through the array, so pure linear computing complexity
You are correct. See previous comments for some discussion on the issue.
If two subarrays have the same maximum then obviously they have to be equal, you can just return any of them.
(Atleast give one thought before raising issue.)