Week 114 of 145 · TAOCP Vol 3: Sorting and Searching
TAOCP 6.4 Hashing (part 1)
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
- Use division and multiplicative hashing and spot keys that defeat them.
- Trace insertions with linear probing and with double hashing.
- Explain how chaining, coalesced chaining and open addressing resolve collisions.
-
3 steps
Read §6.4 Hashing (part 1)
Week 114 · 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 114, 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.