Software Engineer · Senior-Level · Phone Screen
The prompt was to implement an expiring key-value store with a follow-up on how to delete expired keys. **My Approach:** 1. I chose to use a hash map to store the key-value pairs along with their expiration timestamps. 2. For deleting expired keys, I proposed...