← Questions

Find timed-out RPC calls from start and end logs

0
GoogleCodingLast asked Sep 2026

A service writes one log record when a remote procedure call starts and another when it ends, and the log is in time order. Given the log and a timeout, report every call that ran longer than the timeout.

A call that has a start record but no end record is still running when the log ends; it can time out too, so decide how to judge it against the end of the log.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding