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 hintsTopics
More Amazon Questions
Two SumEasyTrapping Rain WaterHardBest Time to Buy and Sell StockEasyNumber of IslandsMediumMedian of Two Sorted ArraysHard
View all Amazon questions