Skip to content

Files

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Latest commit

4ece6d8 · Oct 9, 2018

History

History
92 lines (68 loc) · 2.48 KB

File metadata and controls

92 lines (68 loc) · 2.48 KB




The All ▲lgorithms Python library

Coverage Status



python.allalgorithms.com

Why?

  • Why not 😂
  • Clean and focused
  • Actively maintained
  • Because All Algorithms should easy to use in Python

Read the detailed documentation at python.allalgorithms.com or see Tree.

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