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.
fixed
I got that too, but then worked the kata in xcode playgrounds, copied the entire function back over to the kata, and it worked as it should do.
On Swift 5.3, no matter what the solution is, compiler gives out "error: type of expression is ambiguous without more context" for every single test case.