|
-
December 6th, 2004, 08:19 PM
#1
Hashing Quest
Suppose you want to use hashing with linear probing on a table of size m, and have n keys to place in it, with n<m. In terms of m, what is the largest n can be and still guarentee O(1) average case performance when searching for a key?
a. (3 * m)/4
b. m/2
c. m/4
d. squareRoot(m)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|