Microsoft interview question

Implement LRU cache in C++