From 92e00a52414a3280fd460de32adbdbc709b97e5c Mon Sep 17 00:00:00 2001 From: chenshilong Date: Mon, 12 Dec 2022 23:24:20 +0800 Subject: [PATCH] 1. hashing_search.md editted --- docs/chapter_searching/hashing_search.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/chapter_searching/hashing_search.md b/docs/chapter_searching/hashing_search.md index 4fb189835..e1fcb38eb 100644 --- a/docs/chapter_searching/hashing_search.md +++ b/docs/chapter_searching/hashing_search.md @@ -131,7 +131,7 @@ comments: true ```go title="hashing_search.go" /* 哈希查找(链表) */ - func hashingSearch1(m map[int]*pkg.ListNode, target int) *pkg.ListNode { + func hashingSearch1(m map[int]*ListNode, target int) *ListNode { // 哈希表的 key: 目标结点值,value: 结点对象 // 若哈希表中无此 key ,返回 nil if node, ok := m[target]; ok {