Question: PYTHON Given a list of inputs for player injuries and duration over a 17 week period, merge those injuries together and output list of all

PYTHON

Given a list of inputs for player injuries and duration over a 17 week period, merge those injuries together and output list of all ranges of weeks that player was injured.

EXAMPLE: In: [[1,4],[2,6],[15,17]]

Out: [[1,6],[15,17]]

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 Programming Questions!