ByteDance interview question

Leetcode coding problem LRU cache