Skip to content

Commit c8c9502

Browse files
authoredJun 29, 2020
Update 2.py
1 parent 6a7c251 commit c8c9502

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎7/2.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def binary_search(array, target, start, end):
99
# 중간점의 값보다 찾고자 하는 값이 작은 경우 왼쪽 확인
1010
elif array[mid] > target:
1111
return binary_search(array, target, start, mid - 1)
12-
# 중간점의 값보다 찾고자 하는 값이 크거나 같은 경우 오른쪽 확인
12+
# 중간점의 값보다 찾고자 하는 값이 경우 오른쪽 확인
1313
else:
1414
return binary_search(array, target, mid + 1, end)
1515

0 commit comments

Comments
 (0)
Please sign in to comment.