Test case failed : [[],[10,20],[50,60],[10,40],[5,15],[5,10],[25,55]]

  • 0

    Could someone help explaining this, pls.


    From what I understand [25,55] overlaps with both [50,60] & [10,40], so it shouldn't be added, correct ? but OJ returns expected output as true. Not sure if misunderstood something.

    My output:



Log in to reply

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