Fundamentals/Hashing to Bucket Index
← PrevNext →
Given a string key and a bucketCount, return the bucket index using sum of char codes mod bucketCount.