Amazon Interview Question

implement LRU cache and run it