Greedy Algorithms8 sections · 316 units
Open in CourseQuiz: Worker Hiring
Why ratio order
Check Your Understanding
Why do we process workers in increasing ratio order?
- A.To find the cheapest workers first
- B.When a worker is captain, all previous workers satisfy their wage constraint
- C.Workers with lower ratio are always better
- D.It makes the algorithm faster