Skip to content

Latest commit

 

History

History
69 lines (56 loc) · 3.21 KB

File metadata and controls

69 lines (56 loc) · 3.21 KB
Gitpod Ready-to-Code Contributions Welcome Discord chat Gitter chat
GitHub Workflow Status pre-commit code style: black

All algorithms implemented in Python - for education 📚

Implementations are for learning purposes only. They may be less efficient than the implementations in the Python standard library. Use them at your discretion.

🚀 Getting Started

📋 Read through our Contribution Guidelines before you contribute.

🌐 Community Channels

We are on Discord and Gitter! Community channels are a great way for you to ask questions and get help. Please join us!

📜 List of Algorithms

See our directory for easier navigation and a better overview of the project.

🧩 Usage Example

Here’s how you can clone this repository and run algorithms locally:

  1. Clone the repository
    git clone https://github.com/TheAlgorithms/Python.git
    cd Python
  2. Run an algorithm python3 path/to/algorithm.py
  3. Use the interactive Python shell python3

from algorithms.category import algorithm_name algorithm_name(arguments)

  1. Run doctests to verify correctness python3 -m doctest -v path/to/algorithm.py