Implement a Hash Table supporting insert(key, value), delete(key), search(key), and getRecentElement() in O(1) time. getRecentElement returns the key most recently accessed via insert or search.
You've read your 3 free write-ups
Sign up free to keep reading. Your account opens the first 10 questions of every company.