Skip to content
Snippets Groups Projects
Commit b4117ab6 authored by Winston Jodjana's avatar Winston Jodjana
Browse files

Fixed numbering on CHT comments

parent f868a3dd
No related branches found
No related tags found
No related merge requests found
......@@ -9,17 +9,17 @@ import java.util.Iterator;
import java.util.function.Supplier;
/**
* 1. You must implement a generic chaining hashtable. You may not
* - You must implement a generic chaining hashtable. You may not
* restrict the size of the input domain (i.e., it must accept
* any key) or the number of inputs (i.e., it must grow as necessary).
* 3. Your HashTable should rehash as appropriate (use load factor as
* - Your HashTable should rehash as appropriate (use load factor as
* shown in class!).
* 5. HashTable should be able to resize its capacity to prime numbers for more
* - HashTable should be able to resize its capacity to prime numbers for more
* than 200,000 elements. After more than 200,000 elements, it should
* continue to resize using some other mechanism.
* 6. You should use the prime numbers in the given PRIME_SIZES list to resize
* - You should use the prime numbers in the given PRIME_SIZES list to resize
* your HashTable with prime numbers.
* 7. When implementing your iterator, you should NOT copy every item to another
* - When implementing your iterator, you should NOT copy every item to another
* dictionary/list and return that dictionary/list's iterator.
*/
public class ChainingHashTable<K, V> extends DeletelessDictionary<K, V> {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment