Skip to content

Commit 09890f7

Browse files
author
dwipam
committed
Reverse sorted
1 parent b77ae38 commit 09890f7

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

practice/randMaxInd.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,8 @@
1212
if i == max_key:
1313
cnt+=1
1414
if cnt == t:
15-
print j
15+
print j
1616
break
1717
j+=1
1818

19-
2019

practice/reverse_sorted.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
high = pivot
2424
low = 0
2525

26+
2627
def binary_search(arr, low, high):
2728
if low>high:
2829
return -1

0 commit comments

Comments
 (0)