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.
This comment is hidden because it contains spoiler information about the solution
Directly raise
Update the details with removal of the previous kata (no gaurantee that it has been trained on). Otherwise nice kata!
I suggest to check against an input that contains
nil
andfalse
as values of the array (invalidating my initial solution).requires more test cases
Where is the difference with V2?
Where is the difference with V1?
As others reported already, the parameter 'list' should be renamed. And I always think it's a good idea to have an example in the description, even for simple tasks.
raulbc777 is right, the name of the variable should be changed. I used 'lst' in my solution.