InterviewDB Question

Transactional Database: Implement a Key-Value Store with BEGIN, COMMIT, and ROLLBACK Support

Question Details

Problem Design an in-memory key-value store that supports nested transactions: set(key, value) and get(key) -> value | None delete(key) begin() -- start a new transaction (nestable). commit() -- commit the innermost transaction. rollback() -- undo al…

Full Details

🔒

Unlock full leaked content

Full insider details, leaked discussions, and candidate experiences.

Get Premium →

Topics

Coding Onsite Sql