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.
Click
fork
.To explain with an analogy, using an array to do lookups is like looking through an entire library shelf by shelf to find a specific book. Conversely, using a dictionary/hash map is like asking the librarian to locate the book, having her look up its Dewey Decimal number, and directing you to the exact shelf and row the book is on! Much more efficient!
This comment is hidden because it contains spoiler information about the solution
printer_error(s)
is the call to the function. => is a shorthand of returns.That means
"0/14"
in the example. If you have any doubt, look at the sample tests.