Uber interview question

Time traveling hash map