Google(Screening) | L4 | BLR,India
Difficulty: MEDIUMCategory: InterviewExperienceFrequency: 1Asked On 2024-09-30Added By Anonymous
Source: Link
Company: Google
Role: L4
Interview Stage: Phone Screen
Location: BLR, India
Year: unknown
Original Post Content:
Q1: Given a stream of numbers coming, find the sum of the last k numbers. (k is given beforehand)
Follow-up: sum of last k - (sum to top n%tile), i.e. subtract the top n%tile from the sum.