Scan start/end logs in time order and report a timeout at the earliest log where it becomes visible. Brute force is easy; the interviewer wants O(n). A Verily onsite round.
Scan start/end logs in time order and report a timeout at the earliest log where it becomes visible. Brute force is easy; the interviewer wants O(n). A Verily onsite round.
The discussion opens with the full question.