Question d’entretien chez Instacart

Pair programming: Hashmap with time awareness i.e. Key can store multiple values based on the time it was put. When getting can provide no timestamp (get last inserted value), or one matching either the timestamp or the closest value to the given timestamp.