/HashTableDemo

Demo for basic Hash Table implementation with open addressing.

Primary LanguageJavaMIT LicenseMIT

Hash Table Demo App

Here is a simple hashing table demo application made as an assignment project for University of Silesia.

Description

The application lets you see how does the addressing, searching and removing works in open addressed hash tables. You can choose between different probing methods that are commonly used for avoiding collisions and even specify the table's capacity.

Features

  • Adding values to table
  • Searching values by given key
  • Removing value from given key
  • Creating new table with different probing or capacity
  • Showing verbose information when using method above
  • Showing table schema on the fly

The application supports the following probing methods:

  • Linear probing (chosen by default)
  • Quadratic probing
  • Double hashing

Requirements

For running the application it is needed to have JRE 8 installed.

For building environment you need to have OpenJDK 11 LTS and Gradle installed. Building the UberJar is issued by using command ./gradlew build uberjar in project root path. The resulting files will be in builds/lib path.

References

License

MIT