Week 115 of 145 · TAOCP Vol 3: Sorting and Searching
TAOCP 6.4 Hashing (part 2)
1 task, 3 steps. Open a task's steps to see exactly what to do; each guide has the detail.
Sign up or sign in to tick these off and give this week a due date.
By the end of this week you can
- Explain why clearing a slot breaks later searches under open addressing.
- Compute expected probe counts for linear probing at several load factors.
- Compare chaining, linear probing and double hashing as the table fills.
-
3 steps
Read §6.4 Hashing (part 2)
Week 115 · Self-check
Three quick questions
Ungraded, and it never holds anything up. Pick an answer to see why.
Watch along
Free talks and lectures that go with this week, on the speakers' own channels. Optional.
- Lecture 8: Hashing with ChainingErik Demaine · MIT OpenCourseWare, 6.006 Fall 2011 · 51 minHash functions, chaining and simple uniform hashing, a clear start on section 6.4. (opens in a new tab)
- 35 Years of (Linear) ProbingDonald Knuth · Stanford Online · 1 h 11 minKnuth on the analysis of linear probing, which he first worked out in 1962, from section 6.4. (opens in a new tab)
Discussion
0 postsStuck on week 115, or finished early? Say what you tried and what happened. Hints over answers: full solutions go in a spoiler.
No posts yet. Ask a question or share a tip.
Sign in to postAnyone can read. Posting needs an account with a confirmed email.