Google interview question

Data structure which supports both map operations and array operations without time complexity penalty.

Interview Answer

Anonymous

5 Sept 2019

Isn't this LRU cache?