โ† Amazon questions
CodingEasy

Maximum units on a truck

Filed under Amazon

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.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.