NVIDIA·Software Engineer·Onsite - System Design / Architecture
- Design a system that ingests a stream of build events (each with a target ID and timestamp) and supports two operations: recording a new event, and querying the top-K most-built targets, optionally filtered by a time range.
“I started with the all-time case since that felt simpler: just a hashmap from target ID to count, then a min-heap of size K to get the top results.”