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 will panic if the passed in string is empty.
I wouldn't recommend this as a "Best Practice" because it isn't clear when first viewing the code, that it will panic.
what is meant with the "worst case" ?
words cannot describe how much I love this 🤣
This comment is hidden because it contains spoiler information about the solution