AdvancedNumeric answer
Parcels weighing must ship in order within days, each day’s load being a contiguous run. What is the smallest daily capacity that works?
Answer with a number. Fractions, powers and expressions like 23/6 or C(52,5) are read correctly in practice.
The worked solution is in Premium
The answer, the full working and the one idea to take away – for this and all 1,322 questions in the bank. Answer it in practice and your working is marked, with a known mistake named when you make one.
Reported in interviews at
More data structures and algorithms questions
- How many comparisons does a binary search need, in the worst case, over a…Foundation
- How many non-empty contiguous subarrays does an array of length ten have?Foundation
- Searching a sorted array, part 1 of 3Foundation
- What is the largest sum of a contiguous subarray of [−2,1,−3,4,−1,2,1,−5,4]?Applied
- What is the length of the longest substring of "abcabcbb" with no repeated characters?Applied
- Searching a sorted array, part 2 of 3Applied