Reddit Interview Question

LRU cache class problem for implementation