Confluent logoConfluent
CodingMembers

Expiring Key-Value Store with getAverage

Members only

A small data-structure design where a streaming key-value store must also answer an aggregate query quickly. Correctness hinges on subtle bookkeeping when values are replaced or expire, and the interviewers lean heavily on concurrency.

SWE
hashmap
queue
ttl
concurrency
data-structure
medium
Frequency
Single report
Last asked
—
Stage
onsite-coding

Members get

  • Full problem statement
  • Known variants to clarify
  • 3 progressive hints
  • Step-by-step approach
  • Full solution with code
  • 5 common pitfalls
  • 4 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...