Yahoo Interview Question

What does the code in Java do? What are the problems in it?

Interview Answer

Anonymous

Sep 25, 2015

It was an implementation of a Hashtable/Map, Chaining, where the values are set with TTL. The insertion to the Hashtable was not locked (not tread safe).