13. Which of the following designs is a data structure to implement a Least Recently Used (LRU) cache, supporting get and put operations in O(1) time complexity?
(A) Stacks
(B) Doubly linked list
(C) Hash table
(D) Hash table + Doubly linked list
(E) Stacks + Doubly linked list

答案:登入後查看
統計: A(1), B(1), C(1), D(1), E(0) #3808120