DIY: LFU Cache
Solve the interview question "LFU Cache" in this lesson.
We'll cover the following...
Problem statement
Your task is to build an LFU (least frequently used) cache. You will build a structure that initializes a cache with a fixed capacity that allows ...