← Google questions

Design Logger to print completed requests ordered by start time

Filed under Google

Implement a Logger system with two methods: startReq(reqId, startTime) and finishReq(reqId, endTime). Completed requests must be printed/output strictly ordered by their start time. If a request…

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.