Domanda di colloquio di LegalZoom

A very easy leetcode question for an LRU cache implementation