In-Memory Database

Design a solution for a simple in-memory database. It should support insert, delete, and lookup operations. Optimize for query speed and memory usage.

Example

Unlock to view complete problem details

and practice with sample input/output

Was this article helpful?

View Test Cases & Run Code requires membership

Standard Input
Execution Result: