← Questions

Key-value store with nested transaction rollback

0
SpaceXAISnowflakeTesla+1CodingLast asked Nov 2026

A coding interview question asked in Applied Intuition's technical phone screen and at Tesla, Snowflake and 1 more company, last asked Nov 2026. It tests design, hash map and transactions.

Implement an in-memory key-value store whose string keys map to string values. It supports transactions, and transactions can be nested.

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

  • Applied Intuition · Technical phone screen · Last asked Nov 202645 min · Live coding in CoderPad; the language can be fixed by the role (Python, C++, or C for embedded)
  • Tesla · Technical phone screen · Last asked Apr 202645 min · 10 to 20 minutes on your background, then one compact coding, debugging or design task in CoderPad that must run
  • Snowflake · Coding · Last asked Feb 202660 min · Live coding; senior loops may agree a small storage component together, then build it
  • SpaceXAI · Onsite applied coding · Last asked Jan 2026Two or three rounds, in person (Palo Alto for many roles)

What it tests

design · hash map · transactions · stack

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