Back to problems

Simplified Redis-Like KV / List Store

Object-Oriented Programming · Oracle · Medium

Requirements Implement these operations: set(key, value) — store a string under key, replacing any existing value. list_push(key, value) — insert the string value at the front of the list associated with key. Create the list when the key is not present. get(key) — retrieve the value for key. The result may be either a string created by set or a list created by list_push. list_remove(key, value, count) — delete matching elements from the list at key: When count > 0, remove up…

Checking your access…