Design a cache with a RAM tier, an SSD tier and an HDD tier: new entries land on top, and the least recently used entry of a full tier is pushed one tier down.
Design a cache with a RAM tier, an SSD tier and an HDD tier: new entries land on top, and the least recently used entry of a full tier is pushed one tier down.
Unlock the full question and reference solution
One-time unlock. Yours forever.
Or get a for every question, unlimited code runs and AI mock interviews.
Opens with the full question.