Skip to content

Latest commit

 

History

History
 
 

Roblox

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 

Roblox Interview Questions


Coding round questions

  • A warehouse manager needs to create a shipment to fill a truck.All the products in the warehouse are in boxes of same size.Each product is packed in some number of units per box.Given the number of boxes the truck can hold determine the maximum number of units of any mix of products that can be shipped

Sample input-

boxes=[1, 2, 3] unitsPerBox=[3, 2, 1] truckSize = 3

Sample output- 7

Explanation-

The maximum number of units that can be shipped is 3 + 2 + 2 = 7