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.
Thanks man, glad you found my explanations useful!
I like the use of numpy in your solution btw.
This comment is hidden because it contains spoiler information about the solution
if not enough, search about tuples/list comparisons
I need only one clarification that how is tuple values which is (0 or 1, n or -n) helps in sorting ascending and descending as if n is even or odd.
What was the input value there? The error message shows the value your function returns and the expected value.