PinterestCoding·60 minMembers
Top-K Ads from Log + Sliding-Window Ingest
Members only
Two-part ads round: (1) given a static impression log, return the top-K advertisers by impression count; (2) extend to a streaming `ingestImpressions` that scores the top-K within a sliding time windo...
SWE
MLE
hashmap
heap
sliding-window
top-k
streaming
ads
medium
Frequency
Single report
Last asked
2025-12-10
Stage
onsite-coding
Log in to continue reading the full content
Comments
Sign in to join the discussion
Loading...
