Back to problems

In-Memory Key-Value Store

Object-Oriented Programming · Instacart · Hard

Requirements Level 1 Implement the following operations: A key identifies exactly one record. A record may contain any number of fields, with each field storing a string value. delete must report true only when the specified field was present and removed. Level 2 Add these query operations: Both methods inspect a single record, and returned fields are generally ordered lexicographically by field name. scanByPrefix includes only fields whose names begin with prefix. Represent…

Checking your access…