GoDaddy Interview Question

LRU Cache in JS on hacker rank