Question DSA-GRDY-0047
MediumWhy does the greedy rule 'pick the shortest activity first' fail for activity selection?
- A.
It needs sorting by start time
- B.
A short activity can overlap two others that could both have been chosen
- C.
Sign up free to see the answer and a step-by-step explanation.