drive.ai interview question

LRU Cache problem for coding