← Questions

Key-value store that reports its recent request rate

0
DatabricksCodingLast asked Sep 2026

A coding interview question asked in Databricks's algorithms (two rounds) round, last asked Sep 2026. It tests hash map, sliding window and design.

Build an in-memory key-value store with put and get (and optionally delete). The store must also report how many puts and how many gets per second it served over a recent window, say the last five minutes, and its memory must stay bounded…

Sign in to unlock this question

The full prompt, the worked answer and your own canvas or code with the AI tutor. New accounts get 5 credits: each one unlocks a question for good.

Where it's asked

What it tests

hash map · sliding window · design

Your code and the AI tutor open when you unlock this question.