Question d’entretien chez Shopee

Implement an lru cache with time and space complexity explained