-
Start the hashing assignment
-
Take a closer look at the
Debug
class
Warning
|
This assignment will take extra time. Leave plenty of time to conceptualize and ask questions about implementing the HashIterator at the end of the assignment. |
Complete the Getting Started section for the Hash Table assignment.
Here is a picture of the data-structure:
The TA will:
-
Show you documentation for the
Debug.java
package. -
Discuss how to evaluate whether a hashing algorithm is effective or not, which comes down to whether it provides an even distribution of the elements across the HashTable.
You will be starting the next assignment. Here is a list of what you need look over or implement:
-
Read through the provided documentation and take some time to understand the three ways you can go about starting this assignment.
-
You should be able to talk to the TA about inner classes, anonymous inner classes, and lambda functions by the time you receive credit for this recitation in.
-
-
Implement at least one of the hashing functions in the
Hasher
class -
Test the hashing function that you implemented in
Hasher
class by running the main method. -
Implement the constructor for the
HashTable
class -
Complete the insert() method for the
HashTable
class
Show the lab instructor:
-
The HashFunction you implemented
-
The constructor for the HashTable
-
The insert method
to receive credit for this lab.