☰
WH
·
CSBank
首頁
題庫專區
模擬考專區
Pro 方案
聯絡我們
首頁
題庫
模擬考
Pro
聯絡
總覽
資料結構
388
演算法
212
作業系統
290
計算機組織與結構
266
離散數學
161
線性代數
182
資料結構
›
Ch8 雜湊
第 10 題/共 37 題
◀
DS 10/37
錯題回報
00:00
10. Hash Function、性質
#DS-08-010
易
Hash Function
性質
📝
☆
Which of the following are desirable properties of a hash function
h
(
x
)
h(x)
h
(
x
)
?
A
If
x
1
,
…
,
x
n
x_1,\ldots,x_n
x
1
,
…
,
x
n
are the items to be hashed, then the numbers
h
(
x
1
)
,
…
,
h
(
x
n
)
h(x_1),\ldots,h(x_n)
h
(
x
1
)
,
…
,
h
(
x
n
)
should be uniformly distributed over the integers.
B
The range of
h
(
x
)
h(x)
h
(
x
)
should include a wide range of integers.
C
The range of
h
(
x
)
h(x)
h
(
x
)
should stay within the desired hash-table size.
D
It should be computable in
O
(
1
)
O(1)
O
(
1
)
time.
E
It should take distinct values over all possible items to be hashed.
📝 寫筆記
📄 台大110
重做
跳轉到第
題
← 上一題
下一題 →
答案/解析
▤
完整推導請見《WH 資工筆記 · 資料結構》Ch8 雜湊
‹
本章題號 · 1–20 / 37
›
全部 37
易 27
中 9
難 1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20