employer cover photo
employer logo
employer logo

Amazon Web Services

Part of Amazon

Is this your company?

Amazon Web Services Interview Question

Write an example of a LRU in js

Interview Answer

Anonymous

Feb 22, 2024

Tried making an object where if value didnt exist, it was added, and when accessed it was moved to the front. Items would naturally fall out of the cache if not used.