Schedule Non-Overlapping Meetings Efficiently
Company: Uber
Role: Software Engineer
Category: Coding & Algorithms
Difficulty: hard
Interview Round: Onsite
Quick Answer: This question evaluates understanding of interval scheduling and overlap detection, proficiency in selecting efficient data structures for dynamic ordered intervals, and the ability to reason about algorithmic time and space complexity.
Constraints
- 1 <= len(operations) <= 200000
- -10^9 <= timestamp values <= 10^9
- For every book operation, start < end
- get_meetings must return meetings sorted by start time