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.
When reading the exercise i was confused about the goal. I got the impression the goal was to have the minimum number of items that add exactly to the fuel needed, then i realized it was far more simple and it was only a matter of adding the largest that fitted until getting the final value.
If there was a cost associated to each item (the largest would have the least cost per unit) the problem could be re-phrased and less dubious.
Good Kata, simpler than i expected.