← Questions

Thread-safe key-value store with atomic batch writes

0
DatabricksOO designLast asked Jul 2026

An object-oriented design interview question asked in Databricks's algorithms (two rounds) round, last asked Jul 2026. It tests concurrency, key value store and atomicity.

Design and implement a single-process, in-memory key-value store that many threads use at once. Keys and values are strings.

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

concurrency · key value store · atomicity

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