course-web-page-fall-2022

Course web page for Data Structures H343 Fall 2022

View the Project on GitHub IUDataStructuresCourse/course-web-page-fall-2022

Lab: hash tables with separate chaining

The goal for this lab is to implement a hash table that uses separate chaining. The Map interface in Map.java specifies the methods that should be provided by your HashTable class.

You will also need to implement the constructor for HashTable, in which you will need to initialize the table. The constructor should have one parameter, the initial table size:

public HashTable(int table_size);

As usual, you may create any helper methods that you find useful.

Testing

Create the file StudentTest.java with a class named StudentTest and a method named test that thoroughly tests the hash table.

Submission

Submit your HashTable.java and StudentTest.java files to the autograder, projects HashTable and HashTableTests.