TheAlgorithms/Python

All Algorithms implemented in Python

224,463

stars

2,679

commits

Python

primary language

Sep 11, 2026

updated

thealgorithms.github.io/Python/
algorithm
algorithm-competitions
algorithms-implemented
algos
community-driven
education
hacktoberfest
interview
learn
practice
python
searches
sorting-algorithms
sorts
Browse cluster: Algorithm and Data Structure Interview Prep

README

The Algorithms - Python

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.

Contributors

(top 30 of 452)

harshildarji

260 commits

cclauss

240 commits

MaximSmolskiy

97 commits

TheAlgorithms/Python

All Algorithms implemented in Python

224,463

stars

2,679

commits

Python

primary language

Sep 11, 2026

updated

thealgorithms.github.io/Python/
algorithm
algorithm-competitions
algorithms-implemented
algos
community-driven
education
hacktoberfest
interview
learn
practice
python
searches
sorting-algorithms
sorts
Browse cluster: Algorithm and Data Structure Interview Prep

README

The Algorithms - Python

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.

Contributors

(top 30 of 452)

harshildarji

260 commits

cclauss

240 commits

MaximSmolskiy

97 commits

Languages

Python

99.8%