Fundamentals/Count LRU Cache Misses
← PrevNext →
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).