Time Based Key Value Store
Medium
Binary Search
Design a store that saves values with timestamps and fetches the latest at or before a given time.
Full statement, examples and constraints: see the original problem link below.
Full statement, examples and constraints: see the original problem link below.
A full in-site walkthrough for this problem is coming soon.
View solution & discussion on the original problem ↗
Write your solution in the editor, then hit “Mark solved”. In-browser run & auto-check is coming soon.