finds.dev

TheAlgorithms/Python

All Algorithms implemented in Python

View on GitHubHomepage ↗

★ 222,327PythonMITupdated Jun 2026

// the take

A collection of algorithm implementations in Python, covering data structures, sorting, searching, cryptography, computer vision, and more. It is explicitly for learning and interview prep, not production use. With 220k+ stars, it is probably the most-forked CS education repo on GitHub.

Breadth is genuinely impressive — backtracking, segment trees, wavelet trees, audio filters, cellular automata, and classical ciphers all under one roof. CI is real: pre-commit with ruff, GitHub Actions on every PR, and a devcontainer so you can run it without fighting your local Python setup. The directory is auto-generated by a workflow, so it stays in sync with the actual files. Community governance is tight enough that contributions have a real review bar, which keeps quality from completely collapsing under Hacktoberfest pressure.

Implementations are pedagogical, not correct-by-production-standards — several crypto implementations (RSA, Diffie-Hellman) are textbook-level and actively dangerous if someone copies them into real code without understanding that. There is almost no algorithmic complexity documentation: you have to read the code to know if the heap is O(log n) or accidental O(n). Test coverage is wildly uneven — some modules have zero tests, others have solid doctests, and there is no enforced baseline. The repo has grown by accretion over years and now has multiple implementations of overlapping things (doubly_linked_list.py and doubly_linked_list_two.py, for instance) with no explanation of which one to prefer.

We read the README, the directory tree and a key source file in July 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
222,327
Forks
50,805
Language
Python
License
MIT
Last commit
19 Jun 2026

// nearby

If Python isn't quite it.

All repos →