Google screening L4
Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2025-05-25Added By Anonymous
Source: Link
Company: Google
Role: L4
Interview Stage: Screening
Location: unknown
Year: unknown
Original Post Content:
Screening round:
You are given an API which streams messages and you need to print a message only if the same message doesn't appear in the last 5 seconds.
Follow Up:
You shouldn't print a message if the same message appears in the last 5 seconds or in the next 5 seconds.