We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
应该是self.data = newdata。而不是self.next = newdata。
The text was updated successfully, but these errors were encountered:
add方法感觉也是错的
Sorry, something went wrong.
如果使用self.data = newdata 那么就Node就变成了一个单独的节点,就不是链表了。 写成self.next = newdata也是错误的
这就是一个Node节点的实现,称作是linked list是错误的
No branches or pull requests
应该是self.data = newdata。而不是self.next = newdata。
The text was updated successfully, but these errors were encountered: