Amazon phone interview

Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2025-03-25Added By Anonymous
Source: Link

Company: Amazon
Role: unknown
Interview Stage: Phone Screen
Location: unknown
Year: unknown

Original Post Content:

Hi,

I had phone interview round with Amazon recently and I was asked this question:

Live stream analyzer coding question, you have to add a user comment(userID,comment), one userID can appear multiple times and when I ask get K top users, you have to give me K top users. Note that you cannot store users for more than N time.

Is this a particular LeetCode problem? Can anyone help me understand solution for this?

Comments