🎙 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 5 of 10

For the minimum platforms problem, what does the running count represent?

For the minimum platforms problem, what does the running count represent?

  1. A.The number of trains that have left
  2. B.The number of trains at the station at that moment
  3. C.The total waiting time
  4. D.The number of platforms already built
Answer & explanation

Correct answer: The number of trains at the station at that moment

The largest value of this count is the number of platforms needed.

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 →