Question DSA-GRDY-0060
MediumTo minimise the number of meeting rooms for given meetings, which technique works?
- A.
Sort by length
- B.
Use DFS
- 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
To minimise the number of meeting rooms for given meetings, which technique works?
Sort by length
Use DFS
Sign up free to see the answer and a step-by-step explanation.
Sort by start time and keep a min-heap of end times
Use a stack