We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b47db4 commit 65f1034Copy full SHA for 65f1034
src/main/java/dataStructures/lruCache/LRU.java
@@ -60,7 +60,7 @@ public int get(int key) {
60
if (!keyToNode.containsKey(key)) {
61
return -1;
62
}
63
-
+
64
doublyLinkedList temp = keyToNode.get(key);
65
temp.prev.next = temp.next;
66
temp.next.prev = temp.prev;
0 commit comments