All Questions
3 questions
0
votes
1
answer
151
views
LeetCode - LRU Cache by rodde
I have solved this LeetCode problem. Depending (perhaps) on the server load, I once scored the following performance figures:
My code follows:
...
1
vote
2
answers
439
views
5
votes
2
answers
503
views
Leetcode #146. LRUCache solution in Java (Doubly Linked List + HashMap)
Problem Statement
Design and implement a data structure for Least Recently Used (LRU) cache. It should support the following operations: get and put.
get(key) - Get the value (will always be ...