Desktop only
Coding Challenges are optimized for Desktop
Come back on a wider screen - the live editor needs room to breathe. You can still read the problem brief above.
Come back on a wider screen - the live editor needs room to breathe. You can still read the problem brief above.
def get_range(self, key: str, t1: int, t2: int) -> list[tuple[int, str]]:
"""All (timestamp, value) pairs for `key` with t1 <= ts <= t2, sorted by timestamp."""