CSci 150: Foundations of computer science
Home Syllabus Readings Projects Tests

printable version

Test 4 Review A

[1] [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12]

Problem R4a.1.

Suppose we have a ten-bucket dictionary for storing integers, using a hash code that simply uses the integer. How will the dictionary appear internally after the following integers are inserted into it?

2, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47