← Google questions
CodingReported in a candidate post, Dec 2025

Detect an event whose duration exceeds a timeout

Filed under Google

You get log entries sorted by timestamp, each with a unique event id and a type (start or end). Given a timeout, determine whether any event has end time minus start time greater than the timeout…

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Google questions

Collected from public candidate posts and coding forums. Updated Nov 2026.