notebook/notes/hashing/open-addressing.md

2.4 KiB

title TARGET DECK FILE TAGS tags
Open Addressing Obsidian::STEM hashing::open
hashing

Overview

In open addressing, keys always reside in the hash table. Collisions are dealt with by searching for other empty buckets within the hash table.

%%ANKI Basic What does "closed" refer to in term "closed hashing"? Back: A key must reside in the hash table. Reference: “Hash Tables: Open vs Closed Addressing | Programming.Guide,” accessed June 12, 2024, https://programming.guide/hash-tables-open-vs-closed-addressing.html.

END%%

%%ANKI Basic What does "open" refer to in term "open addressing"? Back: A key is not necessarily stored in the slot it hashes to. Reference: “Hash Tables: Open vs Closed Addressing | Programming.Guide,” accessed June 12, 2024, https://programming.guide/hash-tables-open-vs-closed-addressing.html.

END%%

%%ANKI Cloze {Open} addressing is also known as {closed} hashing. Reference: “Hash Tables: Open vs Closed Addressing | Programming.Guide,” accessed June 12, 2024, https://programming.guide/hash-tables-open-vs-closed-addressing.html.

END%%

%%ANKI Cloze The following is an example of {closed} hashing. !open-addressing.png Reference: “Hash Tables: Open vs Closed Addressing | Programming.Guide,” accessed June 12, 2024, https://programming.guide/hash-tables-open-vs-closed-addressing.html.

END%%

%%ANKI Cloze The following is an example of {open} addressing. !open-addressing.png Reference: “Hash Tables: Open vs Closed Addressing | Programming.Guide,” accessed June 12, 2024, https://programming.guide/hash-tables-open-vs-closed-addressing.html.

END%%

Bibliography