Merge pull request #2059 from 1055373165/patch-1

Update 0035.搜索插入位置.md
This commit is contained in:
程序员Carl
2023-05-14 10:24:43 +08:00
committed by GitHub

View File

@ -274,7 +274,7 @@ func searchInsert(nums []int, target int) int {
left = mid + 1
}
}
return len(nums)
return right+1
}
```