Intuit interview question

LRU leetcode question with some behaviour questions