Pergunta de entrevista da empresa Shopee

Implement an lru cache with time and space complexity explained