Amazon Interview Question

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