Ad
  • Default User Avatar

    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.