Given a stream of trade ticks (product name, volume), choose data structures to report the top k products by traded volume at end of day, and also continuously throughout the day as ticks arrive.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.