Back to problems

In-Memory Database with Backup and Restore

Object-Oriented Programming · Anthropic · Medium

Problem: In-Memory Database with Backup and Restore Create a small, core-logic key-value database that exists entirely in memory. Do not use a UI or framework; rely only on the standard library. Read and execute a sequence of commands, producing one response for every command. Data Model Store the database as a mapping from string key values to string value values. Nothing needs to be persisted outside memory. Commands Your implementation must support at least the commands…

Checking your access…