LinkedIn logoLinkedIn
Coding·60 minMembers

LFU Cache

Members only

LeetCode 460 — implement an `O(1)` LFU cache. Two hashmaps (key→node, freq→doubly-linked-list) plus a `min_freq` cursor. Surfaces in both phone screens and onsite coding rounds, often as the candidate...

SWE
data-structure
hashmap
linked-list
hard
Frequency
Low
Last asked
2026-04-17
Stage
onsite-coding

Log in to continue reading the full content