Implement an LFU cache | Salesforce Interview Question