Reported interview periodOct 2025–Jul 2026
Build a Temporal In-Memory Database with Backup and Restore
Process timestamped commands over records that map string keys to string field/value pairs. Timestamps are unique and strictly increasing; each command returns one string.
Practice focusCommand contract Every command is a list of strings. t , ttl and target are decimal integer strings. Command timestamps t are nonnegative and strictly increasing across the entire input; ttl is positive. Keys and field names are nonempty strings. Values may be empty strings. Inputs contain only the commands below with the stated argument counts. Return one output string for each input command, in order. | Command | Output | | --- | --- | | ["SET", t, key, field, value] | "" ; replace the field with a permanent value.…