mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-07 01:35:16 +08:00
Fix LFUCache (#3847)
This commit is contained in:
@ -101,7 +101,7 @@ public class LFUCache<K, V> {
|
||||
node.next = temp;
|
||||
node.previous = temp.previous;
|
||||
temp.previous.next = node;
|
||||
node.previous = temp.previous;
|
||||
temp.previous = node;
|
||||
break;
|
||||
}
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user