Design an In-Memory Database with Field-Level TTL, Prefix Scan, and Backup/Restore

Design and implement an in-memory database keyed by key (unique per record). Each record contains multiple field -> value pairs, where both field and value are strings.

Implement the foll...

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: