Skip to content

Commit 46bb96c

Browse files
committed
Update 01.01.03-LeetCode-Guide.md
1 parent 91d5f3c commit 46bb96c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/ch01/01.01/01.01.03-LeetCode-Guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ class Solution:
148148

149149
##### 思路 2:哈希表
150150

151-
哈希表中键值对信息为 $target-nums[i]: i$,其中 $i$ 为下标。
151+
哈希表中键值对信息为 $target - nums[i]: i$,其中 $i$ 为下标。
152152

153153
1. 遍历数组,对于每一个数 $nums[i]$:
154154
1. 先查找字典中是否存在 $target - nums[i]$,存在则输出 $target - nums[i]$ 对应的下标和当前数组的下标 $i$。

0 commit comments

Comments
 (0)