Amazon Interview Question

Implement LRU cache and explain your thinking around it