LeetCode
Question
·
Apr 2018
·
Los Angeles
Uber | Phone Screen | Find all non-overlapping intervals
1 upvote
2,400 views
6 replies
Question Details
You are given a set of non-overlapping intervals and a requestInterval. Find all non-overlapping intervals. Example 1: Input: intervals = [[10,15], [25,35]], requestInterval = [17,27] Output: [[17,25]] Example 2: Input: intervals = [[10,15], [25,35],…
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Coding