| Aug |
SEP |
Oct |
|
24 |
|
| 2023 |
2024 |
2025 |
About this capture
The Wayback Machine - http://web.archive.org/web/20240924181702/https://github.com/TheAlgorithms/Python
Skip to content
Navigation Menu
●
Actions
Automate any workflow
Packages
Host and manage packages
Security
Find and fix vulnerabilities
Codespaces
Instant dev environments
GitHub Copilot
Write better code with AI
Code review
Manage code changes
Issues
Plan and track work
Discussions
Collaborate outside of code
Explore
●
●
●
●
●
By size
●
●
●
By industry
●
●
●
By use case
●
●
●
●
Topics
●
●
●
●
●
Explore
●
●
●
●
●
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
●
●
●
●
Enterprise platform
AI-powered developer platform
Available add-ons
Advanced Security
Enterprise-grade security features
GitHub Copilot
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
●
Search or jump to...
Clear
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
To see all available qualifiers, see our documentation.
focus
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.
You switched accounts on another tab or window. Reload to refresh your session.
Dismiss alert
{{ message }}
TheAlgorithms
/
Python
Public
●
Notifications
You must be signed in to change notification settings
●
Fork
44.3k
Star
184k
All Algorithms implemented in Python
the-algorithms.com/
License
MIT license
184k
stars
44.3k
forks
Branches
Tags
Activity
Star
Notifications
You must be signed in to change notification settings
●
Code
●
Issues
29
●
Pull requests
212
●
Discussions
●
Actions
●
Projects
0
●
Wiki
●
Security
●
Insights
Additional navigation options
●
Code
●
Issues
●
Pull requests
●
Discussions
●
Actions
●
Projects
●
Wiki
●
Security
●
Insights
TheAlgorithms/Python
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
BranchesTags
Folders and files
| Name | Name |
Last commit message
|
Last commit date
|
|---|
Latest commit
History
3,385 Commits
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Repository files navigation
●README
●Code of conduct
●MIT license







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.
About
All Algorithms implemented in Python
the-algorithms.com/
Topics
python
education
algorithm
practice
interview
sorting-algorithms
learn
algos
algorithm-competitions
sorts
hacktoberfest
algorithms-implemented
community-driven
searches
Resources
Readme
License
MIT license
Code of conduct
Code of conduct
Activity
Custom properties
Stars
184k
stars
Watchers
5.9k
watching
Forks
44.3k
forks
Report repository
No releases published
Sponsor this project
●
liberapay.com/TheAlgorithms
No packages published
+ 1,159 contributors
Languages
●
Python
100.0%
Footer
© 2024 GitHub, Inc.
●
Terms
●
Privacy
●
Security
●
Status
●
Docs
●
Contact
●
●
ation
You can’t perform that action at this time.