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

Q1_3_20类中delete方法未考虑NullPointException #1

Open
Jin-H opened this issue Apr 7, 2017 · 0 comments
Open

Q1_3_20类中delete方法未考虑NullPointException #1

Jin-H opened this issue Apr 7, 2017 · 0 comments

Comments

@Jin-H
Copy link

Jin-H commented Apr 7, 2017

举例:当链表总长为3时,调用delete(2)方法,node.next = node.next.next;会抛出NullPointException

@Jin-H Jin-H closed this as completed Apr 7, 2017
@Jin-H Jin-H reopened this Apr 7, 2017
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

No branches or pull requests

1 participant