Given an array of box types where boxTypes[i] = [numberOfBoxes_i, numberOfUnitsPerBox_i] and a truck capacity truckSize, return the maximum total number of units that can be put on the truck.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.