The first question was about a given number of items, and 2 types of packages, first one could carry 5 items and the second only 1 and the question was: What is the minimal number of packages required to carry all the items with given number of packages? So you actually had 3 parameters, the number of items, the number of large packages and small packages and you should have returned the minimal packages that could carry the items. If the packages were not enough to carry the items the function should return -1. There was a static function ready to populate.