Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

1. Suppose that a hash table contains HASHSIZE13 entries indexed from 0 through 12 and that the following keys are to be mapped into the

image text in transcribed

1. Suppose that a hash table contains HASHSIZE13 entries indexed from 0 through 12 and that the following keys are to be mapped into the table. 10, 100, 32, 45, 58, 126, 3, 29, 200, 400, 0 (a) Determine the hash addresses and find how many collisions occur when these keys are reduced modulo 13 (no insertion, just count colliding hash values) (b) Determine the hash addresses and find how many collisions occur when these keys are first folded by adding their digits together (in ordinary decimal notation) and then reducing modulo HASHSIZE

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Driven Web Sites

Authors: Joline Morrison, Mike Morrison

2nd Edition

? 061906448X, 978-0619064488

More Books

Students also viewed these Databases questions