Snapchat logoSnapchat
Coding·45 minMembers

Event Count Query over Timestamp Range

Members only

Preprocess unordered and duplicate event timestamps, then answer count queries for arbitrary start and end timestamps.

SWE
binary-search
prefix-sum
sorting
medium
Frequency
Single report
Last asked
2026-03-28
Stage
onsite-coding

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...