InterviewDB
Question
Max Streak Length - Longest Consecutive Daily Activity Streak
phone
Question Details
Problem Given a list of (user_id, date_string) activity records (dates in "YYYY-MM-DD" format), compute the longest streak of consecutive days each user was active. A streak is broken when there is a gap of more than one calendar day. Return a dict {…
Full Details
🔒
Unlock full leaked content
Full insider details, leaked discussions, and candidate experiences.
Get Premium →Topics
Coding
Onsite
Phone