Idempotent Put
Hard · Architecture
Store values by key. A second Put with the same key and value is a no-op success. A second Put with a different value returns "conflict". First insert returns "created". Repeat same returns "ok".
Write RunPuts(ops) where each op is [key, value] strings encoded as "key=value". Return the list of results.
Next: Inclusive Range Sum