Download manager
Design a shared download manager for the app. Requirements: tasks can run serially or in parallel with a cap on concurrency, and it must not be coupled to the calling modules.
Download manager
Design a shared download manager for the app. Requirements: tasks can run serially or in parallel with a cap on concurrency, and it must not be coupled to the calling modules.
CS fundamentals and algorithmsShort answerAdvanced
You need to write an in-memory image cache with LRU eviction yourself. Which data structu…
#cache #lru
CS fundamentals and algorithmsShort answerAdvanced
You've implemented an LRU cache and the interviewer follows up: "Now make each entry expi…
#cache #lru
PersistenceMultiple choiceBasics
You picked LRU for an image cache. Select all the correct statements about LRU.
#cache #lru
PersistenceMultiple choiceAdvanced
Someone proposes moving the image cache from LRU to LFU. Select all the correct statement…
#cache #lru