allalgorithms-python
allalgorithms-python copied to clipboard
The All ▲lgorithms Python Library.
Why?
- Why not 😂
- Clean and focused
- Actively maintained
- Because All Algorithms should be easy to use in Python
Read the detailed documentation at python.allalgorithms.com or see the docs
directory on Github. See Tree.
Want to contribute? GET STARTED HERE
Install
pip install allalgorithms
Usage Example
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
Tree
-
Searches
-
Sorting
-
String
Related
- allalgorithms-js: All ▲lgorithms Javascript library
Maintainers
Carlos Abraham |
License
MIT License © Carlos Abraham