hash tables

A hash table is a data structure that groups values to an index. In some cases, built-in Swift data types (e.g dictionaries) also accomplish this goal. Because of their efficiency, hash tables should be regarded as an important tool for solving technical questions. In this chapter, we’ll examine the advantages of hash tables and will build our own custom hash table model in Swift.