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

Improve The Save Children Method In Fibonacci Heap #28

Open
nishantc1527 opened this issue May 27, 2020 · 0 comments
Open

Improve The Save Children Method In Fibonacci Heap #28

nishantc1527 opened this issue May 27, 2020 · 0 comments

Comments

@nishantc1527
Copy link
Owner

In the Fibonacci Heap, when I delete the min node while also trying to save the children, I lazily add all the children next to it. This is O(lg n), but it is possible to reduce it to O(1) by merging the children list with the one above. For help or merging, see this post.

Points: 15

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