Day 38 of LeetCode Challenge
Problem 1: Time Based Key-Value Store
Link to the problem: https://leetcode.com/problems/time-based-key-value-store/
class TimeMap {
Map<String, TreeMap<Integer, String>> map;
public TimeMap() {
this.map = new HashMap<>();
}
...
tusharpant.hashnode.dev3 min read