Amazon interview question

Basically an LRU cache leetcode question

Interview Answer

Anonymous

26 Mar 2025

I answered using brute force, couldn't figure out optimal.