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.
your logic is worng: what about
n=1
?Passing every single test except ONE in RandomTest/Tests Random Diamonds, 4th from last (just before 49). I get
which makes no sense because I return nil the second the size parameter is even or < 3. I can't see what the test case is doing so there's no way for me to understand what's going on. Using Swift 4.Please add Swift 4 support. Thanks!