Topic summary

Separate Chaining

Separate Chaining

Extracted from the Wikipedia article Hash table.

Separate chaining

In separate chaining, the process involves building a linked list of key–value pairs for each search array index. The collided items are chained together through a single linked list, which can be traversed during lookup of a specific key. Collision resolution through chaining with linked lists is a common method of implementation of hash tables. Let be the hash table, be an element , and be its key. The operations involved are as follows: