โ† Amazon questions

LRU Cache data structure and pseudo code

Filed under Amazon

Explain the concept of an LRU (Least Recently Used) cache, identify the appropriate data structures for O(1) operations, and provide pseudo code.

You've read your 3 free write-ups

Sign up free to keep reading. Your account opens the first 10 questions of every company.

Related Amazon questions

Collected from public candidate posts and coding forums. Updated Nov 2026.