Find the top K elements in a latency-based scenario where elements arrive over time.
Unlock detailed company stats for this questionUpgrade
Not a direct top-K question; it was twisted into a latency-based scenario. First discuss the approach when elements arrive as a stream, then when all elements are in hand.
Format · Amazon SDE-1 FTC round 2.
Community answers
No answers contributed by the community yet.
Related questions
Find the top K frequent elements in an array.Given an integer array and an integer T, find the largest subarray where the frequency of every element is >= T.Find the equilibrium index in an array where sum of elements to the left is equal to sum of elements to the right.Related courses

Course

Course
Course
