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.
Ah ok. Can you show me your code?
You can add some print-statements to the test yourself, like this:
That way the terminal will print a test is done when it has succeeded.
Good luck!
Theses tests test if function
value
gives correct results when provided as last argument. (Remembervalue
argument may be a value or a function :You may assume:
)
In theses cases some values are expected in very first/last items of resulting array (1st item of 1st subarray, last item of last subarray), it seems your solution doesn't return expected values.
Hope it helps!