MCPcopy Create free account
hub / github.com/geekcomputers/Python / binary search.py

File binary search.py

binary search.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1def binarySearchAppr(arr, start, end, x):
2 # check condition
3 if end >= start:
4 mid = start + (end - start) // 2

Callers

nothing calls this directly

Calls 1

binarySearchApprFunction · 0.85

Tested by

no test coverage detected