Amazon interview question

Basically an LRU cache leetcode question

Interview Answer

Anonymous

Mar 26, 2025

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