Cato Networks Interview Question

LRU cache question in java