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

go sort maxDepth #3

Open
liziwei01 opened this issue Jul 13, 2023 · 0 comments
Open

go sort maxDepth #3

liziwei01 opened this issue Jul 13, 2023 · 0 comments

Comments

@liziwei01
Copy link

首先还是感谢这个博客,帮助很大。
关于quick sort 源码,maxDepth函数在我的理解中,返回的也许应该是ceil(lg(n+1))而不是2*ceil(lg(n+1))。最后乘2应该是ceiling的意思?

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