Go to file
pre-commit-ci[bot] a71618f891
[pre-commit.ci] pre-commit autoupdate (#13006)
* [pre-commit.ci] pre-commit autoupdate

updates:
- [github.com/astral-sh/ruff-pre-commit: v0.13.1 → v0.13.2](https://github.com/astral-sh/ruff-pre-commit/compare/v0.13.1...v0.13.2)

* ci: autoupdate_schedule: monthly

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Christian Clauss <cclauss@me.com>
2025-09-29 20:30:14 +02:00
.devcontainer Fix devcontainer build failure (#12837) 2025-07-09 14:25:18 +02:00
.github Bump actions/setup-python from 5 to 6 (#12952) 2025-09-05 08:23:36 +02:00
.vscode Create a Simultaneous Equation Solver Algorithm (#8773) 2023-06-02 07:14:25 +02:00
audio_filters Fix sphinx/build_docs warnings for audio_filters (#12449) 2024-12-22 22:55:22 -05:00
backtracking Add/generate parentheses iterative approach (#10024) 2025-08-28 01:22:12 +03:00
bit_manipulation Fix reverse_bits.py: correct 32-bit reversal and improve docstrings (#12924) 2025-08-24 14:49:43 +03:00
blockchain Improve blockchain/README.md (#9630) 2025-08-27 23:41:04 +03:00
boolean_algebra feat: Add recursive implication function for lists (#12855) 2025-08-24 15:08:52 +03:00
cellular_automata Fix sphinx/build_docs warnings for cellular_automata (#12454) 2024-12-23 06:56:42 -05:00
ciphers hill_cipher.py: Use `int()` to gracefully deal with float input (#12833) 2025-07-07 13:58:59 +05:30
computer_vision [pre-commit.ci] pre-commit autoupdate -- ruff 2025 stable format (#12521) 2025-01-13 21:52:12 +01:00
conversions [pre-commit.ci] pre-commit autoupdate (#12623) 2025-03-18 09:53:49 +01:00
data_compression added coordinate_compression (#9317) 2025-08-27 22:02:14 +03:00
data_structures Add doctests for cross function. Contributes to #9943 (#12991) 2025-09-24 22:18:44 +03:00
digital_image_processing Enable ruff RUF002 rule (#11377) 2024-04-22 21:51:47 +02:00
divide_and_conquer Improve power.py (#12567) 2025-02-09 20:51:18 +03:00
docs [pre-commit.ci] pre-commit autoupdate (#12398) 2024-11-25 21:46:20 +01:00
dynamic_programming [pre-commit.ci] pre-commit autoupdate (#12930) 2025-08-26 15:32:39 +03:00
electronics Tests electronics/electric_conductivity.py #9943 (#12437) 2024-12-30 13:36:55 +01:00
file_transfer Update receive_file.py (#8541) 2023-03-31 16:08:13 +02:00
financial feat: create straight_line_depreciation (#12377) 2025-05-31 17:11:46 -04:00
fractals Upgrade to Python 3.13 (#11588) 2024-09-30 23:01:15 +02:00
fuzzy_logic balance parenthesis (add closing bracket) (#11563) 2024-09-24 00:30:36 -07:00
genetic_algorithm Genetic Algorithm: Fix bug in multi-threading (#12644) 2025-03-29 11:13:47 +03:00
geodesy Fix sphinx/build_docs warnings for geodesy (#12462) 2024-12-23 07:43:16 -05:00
geometry Implemented doctests for geometry-related classes (#12368) 2024-12-30 07:04:28 -08:00
graphics [pre-commit.ci] pre-commit autoupdate (#12623) 2025-03-18 09:53:49 +01:00
graphs pre-commit autoupdate 2025-09-11 (#12963) 2025-09-13 01:56:14 +03:00
greedy_methods Fix sphinx/build_docs warnings for greedy_methods (#12463) 2024-12-23 08:11:58 -05:00
hashes [pre-commit.ci] pre-commit autoupdate (#12623) 2025-03-18 09:53:49 +01:00
knapsack pre-commit autoupdate 2025-09-11 (#12963) 2025-09-13 01:56:14 +03:00
linear_algebra pre-commit autoupdate 2025-09-11 (#12963) 2025-09-13 01:56:14 +03:00
linear_programming Upgrade to Python 3.13 (#11588) 2024-09-30 23:01:15 +02:00
machine_learning pre-commit autoupdate 2025-09-11 (#12963) 2025-09-13 01:56:14 +03:00
maths pre-commit autoupdate 2025-09-11 (#12963) 2025-09-13 01:56:14 +03:00
matrix Various ruff fixes (#12821) 2025-07-06 01:35:29 +03:00
networking_flow [pre-commit.ci] pre-commit autoupdate (#11322) 2024-03-13 07:52:41 +01:00
neural_network pre-commit autoupdate 2025-09-11 (#12963) 2025-09-13 01:56:14 +03:00
other Various ruff fixes (#12821) 2025-07-06 01:35:29 +03:00
physics Lukazlim: Replace dependency `requests` with `httpx` (#12744) 2025-05-14 04:42:11 +03:00
project_euler pre-commit autoupdate 2025-09-11 (#12963) 2025-09-13 01:56:14 +03:00
quantum Upgrade to Python 3.12 (#9576) 2023-10-03 14:47:10 +05:30
scheduling pre-commit autoupdate 2025-09-11 (#12963) 2025-09-13 01:56:14 +03:00
scripts Adding doctest for md_prefix function in build_directory_md.py (#12874) 2025-08-24 14:22:00 +03:00
searches Add median() function using Quickselect (#12676) 2025-05-21 21:33:29 +03:00
sorts Create stalin_sort.py (#11989) 2025-08-31 01:17:55 +03:00
strings Added edit_distance test cases (#12984) 2025-09-23 09:51:49 +03:00
web_programming fix covid_stats_via_xpath.py (#12975) 2025-09-18 15:55:59 +02:00
.gitattributes Create .gitattributes for Cross OS compatibility (#3410) 2020-10-17 07:25:25 +02:00
.gitignore chore: update .gitignore (#6263) 2022-07-23 07:56:59 +05:30
.gitpod.yml Change gitpod configuration for python3. (#1827) 2020-04-07 12:20:08 +02:00
.pre-commit-config.yaml [pre-commit.ci] pre-commit autoupdate (#13006) 2025-09-29 20:30:14 +02:00
CONTRIBUTING.md Create GitHub Pages docs with Sphinx (#11888) 2024-10-08 19:09:28 +02:00
DIRECTORY.md Create stalin_sort.py (#11989) 2025-08-31 01:17:55 +03:00
LICENSE.md Create GitHub Pages docs with Sphinx (#11888) 2024-10-08 19:09:28 +02:00
README.md Update README.md (#12345) 2025-08-30 13:11:57 +03:00
index.md Create GitHub Pages docs with Sphinx (#11888) 2024-10-08 19:09:28 +02:00
pyproject.toml pre-commit autoupdate 2025-09-11 (#12963) 2025-09-13 01:56:14 +03:00
requirements.txt Lukazlim: Replace dependency `requests` with `httpx` (#12744) 2025-05-14 04:42:11 +03:00
uv.lock Lukazlim: Replace dependency `requests` with `httpx` (#12744) 2025-05-14 04:42:11 +03:00

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.