Detect an event whose duration exceeds a timeout.
Unlock detailed company stats for this questionUpgrade
Given a list of events sorted by timestamp, each with a unique ID and a timestamp, and a timeout value, determine whether there exists an event where end_time - start_time > timeout.
Expect follow-ups like
- Implement a solution with O(1) space complexity.
- What if events are stored in files instead of memory?
- What if the events are split across multiple files?
Community answers
No answers contributed by the community yet.
Related courses

Course

Course
Course
