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.
Checkout my solution to see how I did it recursively.
The description is a little bit ...confusing,my first solution even passed the test with wrong understanding
I want to know how to solve it recusively,as I tried not to give the function return value...
Worst case is the outlier lies in the last......