Skip to content

Commit 1af9cdd

Browse files
committed
ts-3: double linked list node defined in the same file
1 parent acea417 commit 1af9cdd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

typescript/Linked Lists/lru_cache.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
import { DoublyLinkedListNode } from './ds';
2-
3-
/* Definition of DoublyLinkedListNode:
41
class DoublyLinkedListNode {
52
key: number; val: number;
63
prev: DoublyLinkedListNode | null;
@@ -12,7 +9,7 @@ class DoublyLinkedListNode {
129
this.prev = null;
1310
this.next = null;
1411
}
15-
}*/
12+
}
1613

1714
class LRUCache {
1815
capacity: number;

0 commit comments

Comments
 (0)