AlgoViz

Design a Top K / Trending Topics System

hard 45 min

Count billions of mentions a day and show the ten topics that are rising right now, in each country and city.

Check yourself

One question at a time. Each answer explains why.

Question 1 of 10

Score 0
conceptual

Events are spread at random over 20 workers and each sends its top 10. What can go wrong?

Pick an answer to see why.

Flashcards

Say your answer, then reveal it.

Card 1 of 10

Recall

Popular or trending?

Say your answer, then reveal it.

These cards come back in Today, just before you would forget them.