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
b
forbool
.Idiomatic Go prefers single letters based off the type when it should be clear what you're doing.
v
would be more likely if you're working with a map though.Looks good. Thanks!
The fixed tests in golang are broken. They always run the last value in the slice (4 in the test set and 5 in the submit set). This sort of behavior often happens when using concurrency but not capturing the parameters properly.
The random tests work fine though.