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.
What is it that should be corrected? I see this in the description:
I see this is the right test:
tailAndHead([1,2,3,4,5]) should return 945
Perhaps you forgot to correct the description? )
Just a little bit more difficult. If I ask the user to return a number of calculation results, there is no additional conditions, the difficulty is a bit too low.
In fact, I designed a more complex test before this, there are many restrictions on the conditions, and ultimately because it is too complex, I chose to give it up ;-)
oops~My fault. just fixed. thanks for your feedback!