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

shellSort looks wrong #3

Open
BoyuanYan opened this issue Mar 31, 2019 · 3 comments
Open

shellSort looks wrong #3

BoyuanYan opened this issue Mar 31, 2019 · 3 comments

Comments

@BoyuanYan
Copy link

No description provided.

@iTimeTraveler
Copy link
Owner

@BoyuanYan 老哥好,方便的话贴一下正确的实现吗?:smile:

@BoyuanYan
Copy link
Author

HeapSort也不对。。。重建堆的时候要根节点往下建,而不是每次都从叶子往根走。。。我回头推个patch给你哈。

@iTimeTraveler
Copy link
Owner

@BoyuanYan 好的,多谢老哥

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

2 participants