Implementations are for learning purposes only. They may be less efficient than the implementations in the Python standard library. Use them at your discretion.
- Main repository: TheAlgorithms/Python
- Based on version: upstream commit
6e03a48579ca212a08b36be00378f887dc41a003(snapshotted 2026-10-20; upstream HEAD dated 2026-10-19) - This edition: v1.1.0 (v1.0.0 = clean baseline of the upstream version above)
- What was done: Converted from a fork into a standalone repository (fresh history, baseline commit), then enhanced in place by Syed Mujtaba Abbas.
- Enhancements in this edition (v1.1.0):
- This About section, with full upstream credit and version provenance
ENHANCEMENTS.md— per-version changelog of everything changed in this edition.markdownlint.json+.github/workflows/markdown-check.yml— markdown linting automation for the README and documentation (upstream build, Ruff, ty and Sphinx workflows kept as-is).editorconfig— standard editor settings, with a 4-space indent section for Python sources matching this codebase (upstream ships none)- Repository About description and homepage set to the upstream project, with the enhancements and versions stated there too
- Credit & licence: All original work belongs to TheAlgorithms and the Python contributors. Licence is preserved unchanged — see
LICENSE.md(MIT License). Upstream's own.github/dependabot.yml(GitHub Actions, daily with a 7-day cooldown) is kept exactly as-is. This edition adds the enhancements listed above only.
📋 Read through our Contribution Guidelines before you contribute.
We are on Discord! Community channels are a great way for you to ask questions and get help. Please join us!
See our directory for easier navigation and a better overview of the project.