Quiz: Binary Search on Answer

Test your understanding

Check Your Understanding

You need to ship packages within DD days. How do you find the minimum ship capacity?

  1. A.Dynamic programming on days and packages
  2. B.Sort packages and use greedy assignment
  3. C.Binary search on capacity, checking if each capacity works in DD days
  4. D.Try all capacities from 11 to sum of weights
Start the roadmap to answer the quizzes and solve the challenges