[理工] [資結]-成大93-電機丁
What is(are) true for hashing?
(A)Hashing can not be used as one sorting algorithm
(B)Hashing always gives caonstant searching time
(C)A hash table may be implemented using only array structure
(D)The number of buckets in a hash table must be a prime number
(E)It is possible to avoid collision and overflow without any overhead
(F)None of the above
答案只有(A),
想問(C)選項為什麼錯呢?
假設是static hashing且用linear probing會用到其他structure嗎?
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.32.189.59
推
01/29 16:42, , 1F
01/29 16:42, 1F
推
01/29 16:42, , 2F
01/29 16:42, 2F
→
01/29 16:44, , 3F
01/29 16:44, 3F
推
01/29 17:08, , 4F
01/29 17:08, 4F
→
01/29 17:09, , 5F
01/29 17:09, 5F
→
01/29 17:09, , 6F
01/29 17:09, 6F
→
01/29 17:11, , 7F
01/29 17:11, 7F
→
01/29 17:12, , 8F
01/29 17:12, 8F
→
01/29 17:13, , 9F
01/29 17:13, 9F
推
01/29 17:23, , 10F
01/29 17:23, 10F
→
01/29 17:24, , 11F
01/29 17:24, 11F
討論串 (同標題文章)