Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix linked_list & add gitigonre #3

Merged
merged 1 commit into from
May 29, 2018

Conversation

Ehco1996
Copy link
Contributor

修复 remove 一个不存在的node时的死循环

@PegasusWang
Copy link
Owner

thks,这里在循环里边没有让 curnode 后移,添加上 curnode=curnode.next 或者直接使用 iter_node() 都可以。

@PegasusWang PegasusWang merged commit 2b1e1fa into PegasusWang:master May 29, 2018
@PegasusWang
Copy link
Owner

这个 mr 依然有错,见 #5 ,没有更新prevnode。
讲义和代码已经修正。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants