refactor: Replace 结点 with 节点 (#452)

* Replace 结点 with 节点
Update the footnotes in the figures

* Update mindmap

* Reduce the size of the mindmap.png
This commit is contained in:
Yudong Jin
2023-04-09 04:32:17 +08:00
committed by GitHub
parent 3f4e32b2b0
commit 1c8b7ef559
395 changed files with 2056 additions and 2056 deletions

View File

@@ -19,7 +19,7 @@ public class hashing_search {
/* 哈希查找(链表) */
static ListNode hashingSearchLinkedList(Map<Integer, ListNode> map, int target) {
// 哈希表的 key: 目标点值value: 点对象
// 哈希表的 key: 目标点值value: 点对象
// 若哈希表中无此 key ,返回 null
return map.getOrDefault(target, null);
}
@@ -42,10 +42,10 @@ public class hashing_search {
// 初始化哈希表
Map<Integer, ListNode> map1 = new HashMap<>();
while (head != null) {
map1.put(head.val, head); // key: 点值value:
map1.put(head.val, head); // key: 点值value:
head = head.next;
}
ListNode node = hashingSearchLinkedList(map1, target);
System.out.println("目标点值 3 的对应点对象为 " + node);
System.out.println("目标点值 3 的对应点对象为 " + node);
}
}