Microsoft Interview Question

Write code for lru cache