Time Based Key-Value Store at eBay
Medium49.7% acceptance
This problem has 75.0% frequency at eBay.
Problem Description
Design a time-based key-value data structure that can store multiple values for the same key at different time stamps and retrieve the key's value at a certain timestamp. Implement the `TimeMap` class: * `TimeMap()` Initializes the object of the data structure. * `void set(String key, String v...
Read full problem and hintsTopics
Also asked at 31 companies
More eBay Questions
LRU CacheMediumDesign SkiplistHardTwo SumEasyLongest Substring Without Repeating CharactersMediumLongest Palindromic SubstringMedium
View all eBay questions