Data Structures Practice Test
Data Structures Linked Lists 3
What is an LRU Cache and which data structures implement it in O(1) for both get and put?
Select your answer
A
Least Recently Used cache using an array and binary search
B
LRU cache using a doubly linked list and hash map
C
Most recently used cache using a stack
D
Least frequently used cache using a min-heap
Hint
✨ Remove Ads & Unlock Every Exam
— From $1.49