C3 AI logoC3 AI
CodingMembers

Streaming Frequent-Event Tracker With a Fixed K

Members only

An onsite problem that blends coding with design judgment: keep track of the most common items in a never-ending feed while answering queries quickly. Candidates are expected to compare an exact approach against memory-saving approximate ones and justify the choice.

SWE
medium
top-k
heap
hashmap
streaming
memory-bounded
Frequency
Single report
Last asked
—
Stage
onsite-coding

Members get

  • Full problem statement
  • 3 progressive hints
  • Step-by-step approach
  • Full solution with code
  • 5 talking points
  • 5 follow-up questions with answer directions
  • Preparation drills

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...