Top K Elements: App Store Rankings, Amazon Bestsellers, etc.


🙋 Here are some details you should know about this question:

What data structure will you use to rank items?

How real-time is the ranking?

Do you do real-time or a scheduled job?

How do you handle this at scale?


← Back to Main Table