What Are Hashmaps?
Background Today, we’ll discuss hashmaps—a fundamental data structure in computer science. I chose this topic while solving the “Two Sum” problem, which required the use of hashmaps to efficiently find a solution. In this post, we’ll cover hash functions, linked lists, and how they come together to form hashmaps. Hashing Let’s start by understanding hashing. Hashing is a process of mapping variable-sized input data (like strings or numbers) to a fixed-size output. This mapping is carried out by a hashing function. ...