Question: There are N cricketers in an academy. Each player practices for some time in the nets ( only 1 net is present ) . To

There are N cricketers in an academy. Each player practices for some time in the nets (only 1 net is present).To solve the time collision issue, the coach is using a calender application. Now there is one new addition in the academy. Given the practice slots of N cricketers, give all suggestions of the time frame available for practice.Note: (The net is available all day,with practice hours described as 0-1000000000)TaskFind all the empty time frames, If no time frames are available return [-1-1].ExampleAssumptions

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!