Filter Repeated Robot Status Messages

Quick Overview

Filter a timestamped robot status stream so a message reappears only when strictly more than ten seconds have passed since its last displayed occurrence. Preserve input order, track each exact case-sensitive message independently, and ensure hidden repeats do not reset the interval.

Filter Repeated Robot Status Messages

Company: Google

Role: Software Engineer

Category: Coding & Algorithms

Difficulty: medium

Interview Round: Technical Screen

Overview: Filter a timestamped robot status stream so a message reappears only when strictly more than ten seconds have passed since its last displayed occurrence. Preserve input order, track each exact case-sensitive message independently, and ensure hidden repeats do not reset the interval.

|Home/Coding & Algorithms/Google
Google logo
Google
Jul 5, 2026
mediumSoftware EngineerTechnical ScreenCoding & Algorithms
14
0
Loading...

Submit Your Answer to Earn 20XP

Sign in to leave a comment

Loading comments...