Nextdoor logoNextdoor
CodingMembers

In-Memory Database with Transactions

Members only

A coding question that starts as a small command-driven key-value store and then grows transaction support. The difficulty is keeping every operation cheap while still being able to undo a block of changes, so careful state tracking and clear explanation of costs matter as much as the code.

SWE
medium
hashmap
in-memory-database
transactions
data-structure
python
Frequency
Single report
Last asked
—
Stage
phone-screen

Members get

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