Fundamentals
/
Count LRU Cache Misses
⏸
00:00
↻
← Prev
Next →
▶
Question
Given a capacity and an array of access keys for an LRU cache, return the number of cache misses (accesses where the key is not currently in the cache).
▶
My Code
▶
Reference Solution