mirror of
https://github.com/krahets/hello-algo.git
synced 2026-04-24 18:43:59 +08:00
build
This commit is contained in:
@@ -2035,7 +2035,7 @@ comments: true
|
||||
printf("Out of range in %s:%d\n", __FILE__, __LINE__);
|
||||
return;
|
||||
}
|
||||
// 遍历待删除顶点的链表,将所有与待删除结点有关的边删除
|
||||
// 遍历待删除顶点的链表,将所有与待删除节点有关的边删除
|
||||
Node *temp = vet->list->head->next;
|
||||
while (temp != 0) {
|
||||
removeLink(temp->val->list, vet); // 删除与该顶点有关的边
|
||||
|
||||
Reference in New Issue
Block a user