Hashing in JAVA

Shiv AroraShiv Arora
1 min read

Today we learned about Hashing. So in simple words, Hashing is a technique that helps us to convert one data structure into another. It is a special type of function in Java that automatically convert the data structures. As you slowly learn about it you will understand the concepts of Hashing easily.

It is that type of data structure that is used to store the table of information. It has two things namely: key and value. The key is always unique while value may not.

In Hashing, we generally make two new data structures i.e. Map and Set. The map is of three types:

1). HashMap 2). Linked HashMap 3). Treemap

Set also has three types:

1). HashSet 2). Linked HashSet 3). Tree HashSet

1
Subscribe to my newsletter

Read articles from Shiv Arora directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Shiv Arora
Shiv Arora