Question: Need help creating a linear probe hashtable. There is more info in the picture. Here is the code provided for the class: import java.util.LinkedList; import
Need help creating a linear probe hashtable. There is more info in the picture. Here is the code provided for the class:
import java.util.LinkedList;
import java.util.Queue;
public class CompletedLinearProbingHT implements ProbingHT
any constructors must be made public
@Override
public int hashKey key, int i
TODO
return ;
@Override
public void putKey key, Value val
TODO
@Override
public Value getKey key
TODO
return null;
@Override
public void deleteKey key
TODO
@Override
public boolean containsKey key
TODO
return false;
@Override
public boolean isEmpty
TODO
return false;
@Override
public int size
TODO
return ;
@Override
public Iterable keys
TODO
return null;
THESE METHODS ARE ONLY FOR GRADING AND COME FROM THE PROBINGHT INTERFACE.
@Override
public int getM
TODO We suggest something like:
return M;
return ;
@Override
public Object getTableEntryint i
TODO We suggest something like:
return entriesi;
return ;
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
