Skip to main content

All Questions

Tagged with
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: ...
coderodde's user avatar
  • 30.2k
1 vote
2 answers
439 views

My LRU Cache implementation in Java

...
learner's user avatar
  • 31
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 ...
Marko Cain's user avatar