Maximum Balanced Shipments at Amazon

Medium61.3% acceptance

This problem has 12.5% frequency at Amazon.

Problem Description

You are given an integer array `weight` of length `n`, representing the weights of `n` parcels arranged in a straight line. A **shipment** is defined as a contiguous subarray of parcels. A shipment is considered **balanced** if the weight of the **last parcel** is **strictly less** than the **maximu...

Read full problem and hints

Topics


More Amazon Questions

View all Amazon questions