mirror of
https://github.com/krahets/hello-algo.git
synced 2026-08-13 20:20:58 +00:00
Update the book based on the revised second edition (#1014)
* Revised the book * Update the book with the second revised edition * Revise base on the manuscript of the first edition
This commit is contained in:
@@ -24,7 +24,7 @@ func TestHashMapChaining(t *testing.T) {
|
||||
hmap.print()
|
||||
|
||||
/* 查询操作 */
|
||||
// 向哈希表输入键 key ,得到值 value
|
||||
// 向哈希表中输入键 key ,得到值 value
|
||||
name := hmap.get(15937)
|
||||
fmt.Println("\n输入学号 15937 ,查询到姓名 ", name)
|
||||
|
||||
@@ -50,7 +50,7 @@ func TestHashMapOpenAddressing(t *testing.T) {
|
||||
hmap.print()
|
||||
|
||||
/* 查询操作 */
|
||||
// 向哈希表输入键 key ,得到值 value
|
||||
// 向哈希表中输入键 key ,得到值 value
|
||||
name := hmap.get(13276)
|
||||
fmt.Println("\n输入学号 13276 ,查询到姓名 ", name)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user