Skip to content

Commit 8e40cb4

Browse files
authored
Update Session_3.md
1 parent f4f9909 commit 8e40cb4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Session_3.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ def get_user_name_from_user_array(user):
2525

2626
```python
2727
# Returns index of x in arr if present, else -1
28+
# Parameters:
29+
# arr: Sorted array
30+
# low, high: upper and lower bounds
2831
def binary_search(arr, low, high, x):
2932
if high >= low:
3033
mid = (high + low) // 2

0 commit comments

Comments
 (0)