Bloomberg Interview Question

Leetcode: lru cache, rotten oranges