Skip to content

Endless Loop occurs #8

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

Open
lancexiang opened this issue Jan 5, 2021 · 0 comments
Open

Endless Loop occurs #8

lancexiang opened this issue Jan 5, 2021 · 0 comments

Comments

@lancexiang
Copy link

def iterate(self, head):

when iterate the heap, there occurs a endless loop, i think there is a circle in node and node.right, which means node = node.right, i don't konw how to avoid this? can you solve this? thanks!

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