educative.io

Resizing in a Hash Table


#1

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