educative.io

Educative

Least Frequently Accessed Feature 6 fetch most frequently accessed

The question is not adequately explained. Could any of you guys elaborate on the question. Trying to understand the solution without understanding the question thoroughly is counter productive for me.

I want to understand what is the meaning of maintaining the least frequently accessed property with an example. The illustration given is not sufficient. What are the time complexity requirements of our Cache in terms of adding and accessing items.