MCPcopy Create free account
hub / github.com/ByteByteGoHq/coding-interview-patterns / removeNode

Method removeNode

csharp/Linked Lists/LRUCache.cs:88–92  ·  view source on GitHub ↗
(DoublyLinkedListNode node)

Source from the content-addressed store, hash-verified

86 }
87
88 private void removeNode(DoublyLinkedListNode node)
89 {
90 node.Prev.Next = node.Next;
91 node.Next.Prev = node.Prev;
92 }
93}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected