chore: remove redundant line
This commit is contained in:
parent
5634c072bd
commit
550b4c4e6f
@ -526,7 +526,6 @@ As shown in the figure below, both student IDs point to the same name, which is
|
||||
|
||||

|
||||
|
||||
|
||||
It is easy to understand that as the capacity $n$ of the hash table increases, the probability of multiple keys being assigned to the same bucket decreases, resulting in fewer collisions. Therefore, **we can reduce hash collisions by resizing the hash table**.
|
||||
|
||||
As shown in the figure below, before resizing, the key-value pairs `(136, A)` and `(236, D)` collide. However, after resizing, the collision is resolved.
|
||||
|
Loading…
Reference in New Issue
Block a user