In-Memory Object Manager with Prefix Scan and TTL

Implement an in-memory object manager. Each object is identified by a unique object_id and contains unique field -> value pairs.

Each field may also have a start time and a TTL:

  • A field is val...

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: