mirror of
https://github.com/halfrost/LeetCode-Go.git
synced 2025-07-05 08:27:30 +08:00
添加内容
This commit is contained in:
@ -1,7 +1,7 @@
|
||||
# [704. Binary Search](https://leetcode.com/problems/binary-search/)
|
||||
|
||||
|
||||
## 题目:
|
||||
## 题目
|
||||
|
||||
Given a **sorted** (in ascending order) integer array `nums` of `n` elements and a `target` value, write a function to search `target` in `nums`. If `target` exists, then return its index, otherwise return `-1`.
|
||||
|
||||
|
Reference in New Issue
Block a user