finds.dev← search

// the find

qiwsir/algorithm

★ 3,299 · Python · updated Jun 2022

A collection of algorithm implementations in Python, written by a Chinese developer as a learning resource. Each algorithm gets a markdown explanation file paired with a .py source file. Aimed squarely at beginners learning algorithms through Python.

The paired md+py structure is genuinely useful — you read the explanation, then look at the code, without hunting around. Covers a reasonable spread of classical topics: sorting variants, tree traversal, Dijkstra, Kruskal/Prim, dynamic programming coin change. The Fibonacci entry in particular often shows multiple implementations side by side, which is a good teaching pattern.

Dead since June 2022 and shows it — no tests, no type hints, no packaging, just flat files in a root directory. Content is in Chinese with no English translation, so the explanations are inaccessible to most of the repo's potential audience. Coverage is shallow and uneven: graph algorithms appear but there's nothing on hash tables, tries, or any DP beyond coin change. With 1040 forks it's clearly used as a homework-copying source more than a reference, which says something about the depth.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →