| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
parent directory.. | ||||
Read the detailed documentation at python.allalgorithms.com or see the docs directory on Github. See Tree.
Want to contribute? GET STARTED HERE
pip install allalgorithms
from allalgorithms.searches import binary_search
arr = [-2, 1, 2, 7, 10, 77]
print(binary_search(arr, 7))
# -> 3
print(binary_search(arr, 3))
# -> None| Carlos Abraham |
MIT License © Carlos Abraham
| Back | FazBrowse Home | New Git URL |