Maximum Warehouse Efficiency
Asked at Amazon · Coding Questions · Difficulty: Hard
Each day, before the first and last remaining parcels are shipped, you choose any one still-present parcel (each parcel at most once) and add its volume to the efficiency. Continue until the warehouse is empty. Return the maximum total efficiency.
Loading the problem…