Skip to content

Commit

Permalink
updated comments
Browse files Browse the repository at this point in the history
  • Loading branch information
ishitagupta8720 authored Oct 20, 2019
1 parent 58bf5c9 commit d29562d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Binary_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
def binarySearch(arr, l, r, x):
while l <= r:

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

# Check if x is present at mid
if arr[mid] == x:
Expand Down

0 comments on commit d29562d

Please sign in to comment.