Implement a simplified time-based key-value store (set values with timestamps, get the value for a key at a given time).
Asked in the technical interview stage. Custom SpaceX question, described as a simpler version of LeetCode Time Based Key-Value Store; ~15 minutes.
set(key, value, timestamp): store value for key at timestampget(key, timestamp): return the value for key with the largest timestamp less than or equal to timestamp, or "" if none existsdef time_based_key_value_store(operations):