Question DSA-GRDY-0024
EasyActivities (start, finish) are (1, 3), (2, 5), (4, 6), (6, 8) and (5, 9). How many non-overlapping activities can be chosen at most?
- A.
2
- B.
3
- 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
Activities (start, finish) are (1, 3), (2, 5), (4, 6), (6, 8) and (5, 9). How many non-overlapping activities can be chosen at most?
2
3
Sign up free to see the answer and a step-by-step explanation.
5
4