LeetCode 460: LFU Cache

Use a doubly linked list to maintain elements that have the same reference frequency in order of use. Two hash maps have been used to keep…