Skip to content

Commit c733140

Browse files
committed
JumpSearch.py finally approved
1 parent b6f6c75 commit c733140

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

DataStructures/Section9/JumpSearch.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,6 @@ def jump_search(ordered_list, item):
3333
print("Element not found")
3434
return
3535
return i + j
36-
i += block_size
36+
i += block_size
37+
38+
print(jump_search([1,2,3,4,5,6,7,8,9, 10, 11], 8))

0 commit comments

Comments
 (0)