Amazon | SDE 2 | HLD

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2024-12-05Added By Anonymous
Source: Link

A Twitch streamer wants to engage more with their community by rewarding their most loyal viewers.

Specifically, the streamer wants a system to track and identify their top 10 viewers by minutes watched over the past week.


This would enable them to send personalized thank-you notes or rewards to their audience.


Design and implement a system to provide this functionality efficiently, considering the large scale of Twitch's

user base and stream durations.

Comments