Pregunta de entrevista de Niantic

Implement LRU in python and explain step by step