Skip to content

Commit 8ca0f20

Browse files
author
“wangruiguo”
committed
learn leetcode
1 parent 0556845 commit 8ca0f20

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

数组/二分查找.py

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
"""
2+
给定一个 n 个元素有序的(升序)整型数组 nums 和一个目标值 target ,写一个函数搜索 nums 中的 target,如果目标值存在返回下标,否则返回 -1。
3+
4+
5+
"""

0 commit comments

Comments
 (0)