mirror of
https://github.com/krahets/hello-algo.git
synced 2025-11-03 05:27:55 +08:00
Fine tune
This commit is contained in:
@ -45,7 +45,7 @@ namespace hello_algo.chapter_searching
|
||||
Console.WriteLine("目标元素 3 的索引 = " + index);
|
||||
|
||||
/* 哈希查找(链表) */
|
||||
ListNode head = ListNode.ArrToLinkedList(nums);
|
||||
ListNode? head = ListNode.ArrToLinkedList(nums);
|
||||
// 初始化哈希表
|
||||
Dictionary<int, ListNode> map1 = new();
|
||||
while (head != null)
|
||||
|
||||
Reference in New Issue
Block a user