Your Dashboard
Interview Coaching
Learn
System Design
ML System Design
Code
Behavioral
Salary Negotiation
Interview Guides
Search
⌘K
Get Premium
Leetcode 436. Find Right Interval
Given intervals with unique start points, return for each interval the index of the interval whose start is the smallest value >= that interval's end (or -1 if none). This is essentially a successor search for each end among the set of starts (e.g., via sorting + binary search or an ordered map).
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.