Hash Tables in C++ with the djb2 Algorithm

Tu Vo
Tu Vo
Jun 5, 2019 · 5 min read
Photo by Roman Bozhko on Unsplash

What are Hash Tables?

In computer science, a hash table is a data structure that implements an array of linked lists to store data. Using a hash algorithm, the hash table is able to compute an index to store string different key-value pairs.

Today, I will demonstrate how to create this data structure in C++. This is my first application written in…