Search
⌘K

Design a Top-K System

Design a system that efficiently retrieves top-k items (songs, videos, hashtags, etc.) based on user activity or engagement metrics within specified time windows. The system should handle real-time data aggregation and support queries like "top 10 songs in the last 7 days" or "trending hashtags in the past 24 hours."

Asked at:

Meta

H

Harness

Atlassian

LinkedIn

LinkedIn