InterviewDB Question

Duplicate Viewings: Deduplicate a User's Watch History Stream

Question Details

Problem You are given a list of viewing events for a single user. Each event has a show_id and a timestamp. A "duplicate" viewing occurs when the same show_id appears more than once within a 24-hour window of its first occurrence. Return a deduplicat…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Onsite Phone