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

Chapter 17 Exercise 6 #56

Open
SuperMoudy opened this issue Apr 3, 2020 · 0 comments
Open

Chapter 17 Exercise 6 #56

SuperMoudy opened this issue Apr 3, 2020 · 0 comments

Comments

@SuperMoudy
Copy link

Function delete_from_list is not working correctly.

It should delete a certain node of value n in a linked list only but the implemented one skips all nodes before the node to be deleted and then the list starts from the next node.

example:
1->2->3->4->5

list = delete_from_list(list, 3)
Expected Result: 1->2->4->5
Actual Result: 4->5

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