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

Hope for a better explanation on C11/problem.md/Problem_1/a #320

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

Hope for a better explanation on C11/problem.md/Problem_1/a #320

pooolman opened this issue May 27, 2020 · 0 comments

Comments

@pooolman
Copy link

Recently I'm working on Chapter-11, but the Problem 11-1.a obstruct my way. I've read the corresponding answer in this project and also a more detailed explanation which I stated below:

Since we assume uniform hashing, we can use the same observation as is used
in Corollary 11.7: that inserting a key entails an unsuccessful search followed
by placing the key into the first empty slot found. As in the proof of Theorem
11.6, if we let X be the random variable denoting the number of probes
in an unsuccessful search, then Pr{X >= i} <= α^(i-1). Since n <= m/2, we have α <= 1/2. Letting i = k + 1, we have Pr{X>k} = Pr{X >= k + 1} <= (1/2)^((k+1)-1) = 2^(-k).

However, I think the one above has missed something:
Pr{X>= k + 1} should equal to Pr{X=k+1} + Pr{X=k+2} + ... + Pr{X=i}, but the Proof of Theorem 11.6 says "We will bound Pr{X>=i} by bounding Pr{A1 ^ A2 ^ ... ^Ai-1}" which only consider every probe in first (i-1)th probe sequence should be fail. It can not represent all events in set {X >= i}.

I think there should be something i misunderstand. So, is there anyone can tell me what wrong am i ? Thanks a lot!

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