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.
You are asked to create an extension method. In Swift, the object being operated on is not passed to extension methods as an explicit parameter.
you're reading the wrong input (since the ref solution expects 0 and not 1, here).
not an issue, closing. Generic message below:
Seems you're "rather new" to cw, so here are some general guidelines about the comments:
Issue
: problem in the kata itself (description, wrong tests, wrong internal solution...)Suggestions
: well, I guess that part is clearQuestion
anything else that is related to you having a problem solving a kata -> that's you, currently.When you post issues:
When you post a question: well, most of the above apply too x)
When you post code, use proper github markdown, so that it's readable.
And for your current problem, did you check what are the inputs/outputs to try to debug your code on your own?
cheers
Fixed.