Eightfold interview question

implement LRU cache with the most suitable data structure