← Questions

Key-value store with constant-time set-all

0
NvidiaCodingLast asked Apr 2026

Implement a key-value store with set, get and a setAll operation that assigns one value to every key, all in O(1). A related variant manages dataset sizes under a fixed disk capacity.

Write and test your solution herePython in your browser, the question's tests level by level, every submission kept for you.Sign in to start coding