InterviewDB Question

Unwatched Episode: Find the First Episode a User Has Not Seen in a Series

Question Details

Problem A user has a watch history represented as a set of (series_id, season, episode) tuples. Given a series with S seasons and E[s] episodes per season, return the first unwatched episode in order, or None if all episodes are watched. Episodes are…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Onsite Phone