← Amazon questions

Filter unique strings in incoming stream within 10-second window

Filed under Amazon

Implement a system that ingests a continuous stream of strings with timestamps and prints a string only if it has not appeared in the preceding 10 seconds. Prevent unbounded memory growth by evicting…

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

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