AiTeky Original Lesson 3 of 3 Industry ready 35 min ✓ Reviewed by Expert
On the job: the top ten from a stream
A news site wants a live "most-read now" list from a stream of page views. Compare three approaches (sort all the counts for every refresh, keep a small heap of the best ten, count in a hash table and read only the changed ones) by counted work on a simulated stream, choose one, and write the design note.
Sign up free to open every AiTeky Original lesson
It takes a minute with your email. AiTeky Pass (₹999/month or ₹9,999/year) is free for your first 30 days.

