Question DSA-GRDY-0023
EasyIn the activity-selection problem, which activity does the greedy algorithm pick next?
- A.
The compatible activity that finishes earliest
- B.
The activity that starts latest
- C.
Show answer and explanation
Answer: A
Finishing early leaves the most time for the remaining activities.