InterviewDB
Question
Show Streak: Find a User's Longest Consecutive Daily Viewing Streak
phone
Question Details
Problem Given a list of dates on which a user watched at least one episode, find the length of their longest consecutive daily viewing streak. Dates are given as strings in YYYY-MM-DD format, possibly unsorted and with duplicates. Example: Approach C…
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Coding
Phone