Given a overlapping time interval, given a time find out how many overlaps ?


  • 0
    N

    Given a overlapping time interval, given a time find out how many overlaps ?

    Ex :
    intervals
    1-2
    3-5
    4-6
    time :
    1 -- no of overlaps = 1
    2 -- no of overlaps = 1
    3 -- no of overlaps = 1
    4 -- no of overlaps = 2
    5 -- no of overlaps = 2
    6 -- no of overlaps = 1


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.