Amazon interview question

In the third round, I was asked to code an LRU cache on a shared code editor live.