From f868a3dd796bdfcc8c0bf6df0621065ecdbd5410 Mon Sep 17 00:00:00 2001 From: Youssef Taleb <yben@cs.washington.edu> Date: Thu, 13 Apr 2023 13:56:25 -0700 Subject: [PATCH] Update CHT comments --- .../java/datastructures/dictionaries/ChainingHashTable.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/datastructures/dictionaries/ChainingHashTable.java b/src/main/java/datastructures/dictionaries/ChainingHashTable.java index 0253cd3..c0ca697 100644 --- a/src/main/java/datastructures/dictionaries/ChainingHashTable.java +++ b/src/main/java/datastructures/dictionaries/ChainingHashTable.java @@ -17,9 +17,8 @@ import java.util.function.Supplier; * 5. 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. We suggest you hard code some prime numbers. You can use this - * list: http://primes.utm.edu/lists/small/100000.txt - * NOTE: Do NOT copy the whole list! + * 6. 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 * dictionary/list and return that dictionary/list's iterator. */ -- GitLab