General Motors (GM) interview question

LRU cache in system design. Using hashmap + doubly linked list in leetcode.