Skip to content

Commit d29562d

Browse files
updated comments
1 parent 58bf5c9 commit d29562d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Binary_search.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
def binarySearch(arr, l, r, x):
44
while l <= r:
55

6-
mid = l + (r - l) / 2; #extracting the middle element of the array
6+
mid = l + (r - l) / 2; #extracting the middle element from the array
77

88
# Check if x is present at mid
99
if arr[mid] == x:

0 commit comments

Comments
 (0)