MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / simple_binary_search.py

File simple_binary_search.py

searches/simple_binary_search.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2Pure Python implementation of a binary search algorithm.
3
4For doctests run following command:

Callers

nothing calls this directly

Calls 2

splitMethod · 0.80
binary_searchFunction · 0.70

Tested by

no test coverage detected