Database schema for a service provider and Top-K stream processing
Filed under PubMatic
The question
Design a normalized database schema with proper indexes for a service provider (like Idea or Airtel), and find the top 100 numbers from a stream of a billion numbers at any instant.
No write-up yet. Related questions below have one.
Related PubMatic questions
Collected from public candidate posts and coding forums. Updated Nov 2026.