File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1179,13 +1179,23 @@ $$
11791179Bucket contents after hashing:
11801180
11811181$$
1182- \begin{aligned}
1183- h(12) &= 12 \bmod 5 = 2 \Rightarrow& \text{bucket 2: } [12] [6pt]
1184- h(22) &= 22 \bmod 5 = 2 \Rightarrow& \text{bucket 2: } [12, 22] [6pt]
1185- h(7) &= 7 \bmod 5 = 2 \Rightarrow& \text{bucket 2: } [12, 22, 7] [6pt]
1186- h(3) &= 3 \bmod 5 = 3 \Rightarrow& \text{bucket 3: } [3] [6pt]
1187- h(14) &= 14 \bmod 5 = 4 \Rightarrow& \text{bucket 4: } [14]
1188- \end{aligned}
1182+ h(12) = 12 \bmod 5 = 2 \;\Rightarrow\; \text{bucket 2: } [12]
1183+ $$
1184+
1185+ $$
1186+ h(22) = 22 \bmod 5 = 2 \;\Rightarrow\; \text{bucket 2: } [12, 22]
1187+ $$
1188+
1189+ $$
1190+ h(7) = 7 \bmod 5 = 2 \;\Rightarrow\; \text{bucket 2: } [12, 22, 7]
1191+ $$
1192+
1193+ $$
1194+ h(3) = 3 \bmod 5 = 3 \;\Rightarrow\; \text{bucket 3: } [3]
1195+ $$
1196+
1197+ $$
1198+ h(14) = 14 \bmod 5 = 4 \;\Rightarrow\; \text{bucket 4: } [14]
11891199$$
11901200
11911201* Example 1*
You can’t perform that action at this time.
0 commit comments