• Courses
  • Tutorials
  • Jobs
  • Practice
  • Contests
May 07, 2024 |110 Views
SDE Sheet - N meetings in one room
  Share   Like
Description
Discussion

This video is part of the Greedy section under GFG SDE Sheet.

In this problem, we are given there is one meeting room in a firm. There are N meetings in the form of (start[i], end[i]) where start[i] is start time of meeting i and end[i] is finish time of meeting i.
What is the maximum number of meetings that can be accommodated in the meeting room when only one meeting can be held in the meeting room at a particular time?

Note: Start time of one chosen meeting can't be equal to the end time of the other chosen meeting.

Try it out before watching the implementation of the problem in the video. We recommend watching the video, even if you can solve the problem. You may discover something new. All the best!!!

Do check out:-
Article: https://www.geeksforgeeks.org/find-maximum-meetings-in-one-room/
Problem: https://www.geeksforgeeks.org/problems/n-meetings-in-one-room-1587115620/1
SDE Sheet Link: https://www.geeksforgeeks.org/sde-sheet-a-complete-guide-for-sde-preparation/