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

Method removeNode

cpp/Linked Lists/lru_cache.cpp:84–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82 }
83
84 void removeNode(DoublyLinkedListNode* node) {
85 node->prev->next = node->next;
86 node->next->prev = node->prev;
87 }
88};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected