๐Ÿ“ฆ TheAlgorithms / Python

All Algorithms implemented in Python

โ˜… 217.0k stars โ‘‚ 50.0k forks ๐Ÿ‘ 217.0k watching โš–๏ธ MIT License
algorithmalgorithm-competitionsalgorithms-implementedalgoscommunity-driveneducationhacktoberfestinterviewlearnpracticepythonsearchessorting-algorithmssorts
๐Ÿ“ฅ Clone https://github.com/TheAlgorithms/Python.git
HTTPS git clone https://github.com/TheAlgorithms/Python.git
SSH git clone git@github.com:TheAlgorithms/Python.git
CLI gh repo clone TheAlgorithms/Python
pre-commit-ci[bot] pre-commit-ci[bot] [pre-commit.ci] pre-commit autoupdate (#14078) 3c88735 14 days ago ๐Ÿ“ History
๐Ÿ“‚ master View all commits โ†’
๐Ÿ“ .devcontainer
๐Ÿ“ .github
๐Ÿ“ .vscode
๐Ÿ“ audio_filters
๐Ÿ“ backtracking
๐Ÿ“ bit_manipulation
๐Ÿ“ blockchain
๐Ÿ“ boolean_algebra
๐Ÿ“ cellular_automata
๐Ÿ“ ciphers
๐Ÿ“ computer_vision
๐Ÿ“ conversions
๐Ÿ“ data_compression
๐Ÿ“ data_structures
๐Ÿ“ divide_and_conquer
๐Ÿ“ docs
๐Ÿ“ electronics
๐Ÿ“ file_transfer
๐Ÿ“ financial
๐Ÿ“ fractals
๐Ÿ“ fuzzy_logic
๐Ÿ“ genetic_algorithm
๐Ÿ“ geodesy
๐Ÿ“ geometry
๐Ÿ“ graphics
๐Ÿ“ graphs
๐Ÿ“ greedy_methods
๐Ÿ“ hashes
๐Ÿ“ knapsack
๐Ÿ“ linear_algebra
๐Ÿ“ linear_programming
๐Ÿ“ machine_learning
๐Ÿ“ maths
๐Ÿ“ matrix
๐Ÿ“ networking_flow
๐Ÿ“ neural_network
๐Ÿ“ other
๐Ÿ“ physics
๐Ÿ“ project_euler
๐Ÿ“ quantum
๐Ÿ“ scheduling
๐Ÿ“ scripts
๐Ÿ“ searches
๐Ÿ“ sorts
๐Ÿ“ strings
๐Ÿ“ web_programming
๐Ÿ“„ .gitattributes
๐Ÿ“„ .gitignore
๐Ÿ“„ .gitpod.yml
๐Ÿ“„ CONTRIBUTING.md
๐Ÿ“„ DIRECTORY.md
๐Ÿ“„ index.md
๐Ÿ“„ LICENSE.md
๐Ÿ“„ pyproject.toml
๐Ÿ“„ README.md
๐Ÿ“„ uv.lock
๐Ÿ“„ README.md

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.