Practice Problem

Time Based Key-Value Store

Difficulty: Medium

Design a key-value store that can store multiple values for the same key at different timestamps and retrieve the value at a given timestamp using binary search.