Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit bf85b27

Browse files
committed
refactor bs
1 parent c3bfc50 commit bf85b27

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

‎algorithm/algos.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ func binaySearch(nums[]int, left int, right int, target int) int{
1515
mid:=(left+right)/2
1616
if(nums[mid]<target){
1717
left=mid+1
18-
1918
return binaySearch(nums,left,right,target)
2019
}else if(nums[mid]>target){
2120
right=mid-1

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /