Skip to content
The All ▲lgorithms Python Library.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
allalgorithms
docs
tests
.coveragerc
.editorconfig
.gitignore
.travis.yml
changelog.md
license
readme.md
setup.py
tests_requirements.txt
tox.ini

readme.md





The All ▲lgorithms Python library

Coverage Status



python.allalgorithms.com

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

Related

Maintainers

Carlos Abraham Logo
Carlos Abraham

License

MIT License © Carlos Abraham

You can’t perform that action at this time.