Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign up
The checkLoadFactor() method adds dynamic array functionality to HashTableLinearProbing.java
Through its use, it can be a powerful tool in avoiding collisions as the hash table fills.
It calls the lengthenTable() method when load factor exceeds .7
I have updated MainLinearProbing.java to test this new method.
I've also made a change to the findHash() method to avoid NullPointerException at runtime and made code easier to read in some places