algo README

The project's README from github.com/wangzheng0822/algo. As one markdown file: README.md.

数据结构和算法必知必会的50个代码实现

微信搜索我的公众号“小争哥”,或者微信扫描下面二维码关注

关注微信公众号,回复”PDF“获取独家算法资料。

前Google工程师,10万人跟着学的《数据结构和算法之美》《设计模式之美》专栏作者

t2

数组

链表

栈

队列

递归

排序

二分查找

散列表

字符串

二叉树

堆

图

回溯

分治

动态规划

algo (wangzheng0822/algo)

data-structure
Searching Database…

23.1K ·GitHub
What is this?A curated set of 50 Python implementations of classic data structures and algorithms (arrays, linked lists, stacks, queues, trees, graphs, sorting, dynamic programming and more), built as companion exercises for the author's data-structures-and-algorithms course.
Is this an installable library, or just reference code?It's not a package you import — each topic has its own standalone Python file demonstrating the implementation, meant to be read and copied rather than installed.
How do I actually use these implementations?Browse the headings (arrays, linked lists, stacks, queues, trees, graphs, sorting, dynamic programming, etc.) and open the relevant Python file to study or reuse the code; there is no install step.
Do I need anything besides Python?No external dependencies are listed; the files are plain Python meant to be run or read directly.
Does this cover every algorithm I'd need for interviews?It's a curated set of 50 implementations across 13 topics, not an exhaustive algorithms reference, and all comments and section headers are written in Chinese.
Who is this repository for?People learning data structures and algorithms for coding interviews or CS fundamentals, especially Chinese-speaking readers following the author's paid course.
What topics are covered?Arrays, linked lists, stacks, queues, recursion, sorting, binary search, hash tables, strings/tries, binary trees, heaps, graphs, backtracking, divide-and-conquer, and dynamic programming.
Which sorting algorithms are implemented?Merge sort, quicksort, insertion sort, bubble sort, selection sort, and heap sort, plus an O(n) algorithm to find the k-th largest element.
Size
1.1 MB
Stars
23.1K
Updated
CommitNov 17
Age
8y
Commits · 90 Days