The Question
CodingThread-Safe Versioned Key-Value Store
Design and implement a high-performance, thread-safe versioned key-value storage system. The system must provide two operations: one to record a value for a specific key at a given point in time, and another to retrieve the most recent state of a key at or before a specified timestamp.
Java
ConcurrentHashMap
TreeMap
Binary Search
March 2, 2026