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

关于extendible_hash_test的问题 #1

Open
l-iberty opened this issue Jul 25, 2020 · 0 comments
Open

关于extendible_hash_test的问题 #1

l-iberty opened this issue Jul 25, 2020 · 0 comments

Comments

@l-iberty
Copy link

测试中要求GetLocalDepth(x)的值必须是给出的那样,但我认为根据对key做hash的算法的不同,local depth可以有不同的值,只要满足任意一个bucket的local depth小于等于global depth,并且每个元素都可以Find成功即可,所以我觉得他给的这个测试有问题。

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