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 was insane. I even don't undestand the other's solutions. Thanks!
Nice!
Nice Hack
I am new to Rust, sorry for this mess
Very clever solution, but to be picky it is unnecessary to go through all the available ingredients even if the first one is undefined.
It should return 0 as soon as something is missing.
I always forgot about Big O. I have made the same mistake.
This comment is hidden because it contains spoiler information about the solution