Interval Addition and Next Interval Lookup
Given a set of intervals, implement operations to add new intervals (merging overlapping ones as needed) and find the next interval for a given interval. The solution should efficiently handle interval insertion and lookup.
Asked at:
Question Timeline
See when this question was last asked and where, including any notes left by other candidates.
All Regions
Early April, 2026
Senior
It was something around add intervals and find next interval
Your account is free and you can post anonymously if you choose.