Daily iOS
CS fundamentals and algorithms

LRU cache

You need to write an in-memory image cache with LRU eviction yourself. Which data structures give you O(1) get and put?

Submit