🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← Quiz: Interval Problems: all 10 questions

Quiz: Interval Problems · Question 7 of 10

To choose the most non-overlapping meetings, how should you sort them?

To choose the most non-overlapping meetings, how should you sort them?

  1. A.By start time
  2. B.By length, shortest first
  3. C.By number of attendees
  4. D.By end time, then take each meeting that starts after the last chosen one ends
Answer & explanation

Correct answer: By end time, then take each meeting that starts after the last chosen one ends

Finishing as early as possible leaves the most time for the remaining meetings.

Can you get the rest right without peeking?

Take the timed Quiz: Interval Problems quiz free. Pass it to earn XP and count towards your certificate.

Start the quiz →