Question DSA-GRDY-0067
HardFor activity selection, which greedy rule is provably optimal?
- A.
Choose the activity that finishes earliest
- B.
Choose the one that starts earliest
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Greedy question
For activity selection, which greedy rule is provably optimal?
Choose the activity that finishes earliest
Choose the one that starts earliest
Sign up free to see the answer and a step-by-step explanation.
Choose the one with the fewest overlaps
Choose the shortest activity