← Microsoft questions
Low-Level DesignReported in a candidate post, Jul 2025

Design a logger that discards duplicates within a resetting 10-second window

Filed under Microsoft

Design a logger that receives a stream of messages with timestamps and decides whether each message should be printed. A message should be discarded if the same message arrived within the last 10…

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 Microsoft questions

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