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.
Read the instructions again:
The answer for {3, 3} is 0.
Why test for two elements passes with something like that?
Author decided that there are one max and one min values, for example {3, 10}, so result is 0, because we exclude max and min values in answer.
Though, an array {3, 3} possible too. And answer should be 3.