Hashing and Hash Tables

Tutorials on Hashing and Hash Tables


Perfect Hashing – How it Works

This is used when the keys stored in the hash table are expected to be static. In this case perfect ...

Linear Probing, Quadratic Probing and Double Hashing

The three terms that make up the title of this article are the three common techniques used for computing hash ...

Hashing With Open Addressing

Today we are going to examine Open Addressing. Recall that the two methods of resolving collisions in a hash table are: ...

Universal Hashing – An Clear Explanation

We would cover the following topics on Universal Hashing Introduction to Universal Hashing What is Universal Hashing How Universal hashing ...

Search Time Under Simple Uniform Hashing

We are going to examine the time it takes for successful and unsuccessful search in a hash table where collision ...

Hash Tables – Hashing With Chaining

Hashing With Chaining. In the discussion of direct addressing, we see that for a fairly small-size universe U, we can ...

Introduction to Hash Tables and Direct Addressing

We would cover the following: Introduction to Hash Tables Arrays vs Hash Tables Direct-Address Tables Watch the Video on Hashing ...

Bloom Filters – A Clear Explanation of How They Work

We would cover the following: Introduction to Bloom Filters Applications of Bloom Filters How Bloom Filters Work Bloom Filter Setup ...

How Cuckoo Hashing Works

The Cuckoo hashing algorithm allows for lookup of items at constant time, O(1). We would cover the following in this ...

Other Computer Science Topics

Conditional Probability – Application of Bayes’s Rule

In the previous lesson(Introduction to Bayes’ Rule), we saw how ...

Conditional Probability – Introduction to Bayes’ Rule

Bayes Rule is based on Conditional Probability which we have ...

Conditional Probability – Law of Total Probability

In this lesson, we would examine Law of Total Probability ...

Conditional Probability – Multiplication Law

In this short lesson we would understand how to use ...

Conditional Probability – Basics

I assume you have a basic knowledge of Probability. For ...

Skip Lists and How They Work

A skip list is an efficient data structure  that arranges ...

Perfect Hashing – How it Works

This is used when the keys stored in the hash ...

Linear Probing, Quadratic Probing and Double Hashing

The three terms that make up the title of this ...

Hashing With Open Addressing

Today we are going to examine Open Addressing. Recall that the ...

Universal Hashing – An Clear Explanation

We would cover the following topics on Universal Hashing Introduction ...

Search Time Under Simple Uniform Hashing

We are going to examine the time it takes for ...

Hash Tables – Hashing With Chaining

Hashing With Chaining. In the discussion of direct addressing, we ...

Introduction to Hash Tables and Direct Addressing

We would cover the following: Introduction to Hash Tables Arrays ...

Recurrences in Divide and Conquer Algorithm

The divide and conquer class of algorithm solves a problem ...

Bloom Filters – A Clear Explanation of How They Work

We would cover the following: Introduction to Bloom Filters Applications ...

How Cuckoo Hashing Works

The Cuckoo hashing algorithm allows for lookup of items at ...

Network Flow – Introduction to Cuts in a Network

The concepts of cuts in a network is a way ...

The Ford-Fulkerson Algorithm

We now present the Ford-Fulkerson algorithm and a simple explanation ...

Ford-Fulkerson Algorithm for Max Flow Problem

We cover the following Introduction to Ford-Fulkerson Algorithm Introduction to ...

Introduction to Network Flow

In this article on flow networks, we would cover the ...