educative.io

Resizing in a Hash Table

Hi,
in “Introduction to Hashing”, page " Add/Remove & Search in Hash Table (Implementation)", paragraph “Resizing in a Hash Table”
shouldn’t getIndex() function on line 9 start using a number of buckets from the new, larger array?

P.S.
Minor: for a property containing a list of buckets of a HashTable you use “bucket”, i.e. a singular form.

Thank you

@dennis

Can you please revisit the line number for the getIndex() function and let me know? Because I cannot find the getIndex() function on line number 9 that “start using a number of buckets from the new, larger array”.

Thanks :blush: