Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion 第11章 C#的数据结构/CSharpLinkedList/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ public void AddLast(T value)
//在某个节点前面插入一个值
public void AddBefore(CSharpLinkedListNode<T> node, CSharpLinkedListNode<T> newNode)
{
InsertNodeBefore(node, node);
InsertNodeBefore(node, newNode);

//设置头节点
if (node == head)
Expand Down