DIY: LFU Cache

Solve the interview question "LFU Cache" in this lesson.

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 ...