← All questions
Coding
Streams
Asked at
Google
1Give yourself 5 minutes
2Answer out loud, not in your head
3Then compare with the answer below
0
Stuck? Show a way to structure it+
- 01Clarify event rate, ordering, lateness, and exactness requirements.
- 02Choose incremental state rather than storing the complete history.
- 03Define windowing or eviction when results are time-bounded.
- 04Describe backpressure, idempotency, and failure recovery for production streams.
Reference answer
Then expect these follow-ups
How would you compute a rolling median?
Tests: two heaps
What makes a consumer idempotent?
Tests: reliability
Free to read · better with Enzo
Practice this out loud with Enzo
Enzo runs it as a mock interview, pushes back with follow-ups, and grades you on the rubric.
Next question