• Stars
    star
    691
  • Rank 65,435 (Top 2 %)
  • Language
  • Created over 4 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

English version repo and Gitbook is on english branch. Just enjoy:)

前言

本仓库总共 60 多篇原创文章,基本上都是基于 LeetCode 的题目,涵盖了所有题型和技巧,而且一定要做到举一反三,通俗易懂,绝不是简单的代码堆砌,后面有目录。

我先吐槽几句。刷题刷题,刷的是题,培养的是思维,本仓库的目的就是传递这种算法思维。我要是只写一个包含 LeetCode 题目代码的仓库,有个锤子用?没有思路解释,没有思维框架,顶多写个时间复杂度,那玩意一眼就能看出来。

只想要答案的话很容易,题目评论区五花八门的答案,动不动就秀 python 一行代码解决,有那么多人点赞。问题是,你去做算法题,是去学习编程语言的奇技淫巧的,还是学习算法思维的呢?你的快乐,到底源自复制别人的一行代码通过测试,已完成题目 +1,还是源自自己通过逻辑推理和算法框架不看答案写出解法?

网上总有大佬喷我,说我写这玩意太基础了,根本没必要啰嗦。我只能说大家刷算法就是找工作吃饭的,不是打竞赛的,我也是一路摸爬滚打过来的,我们要的是清楚明白有所得,不是故弄玄虚无所指。不想办法做到通俗易懂,难道要上来先把《算法导论》吹上天,然后把人家都心怀敬仰地劝退?别的不说,公众号几万读者,PDF 版本上万次下载,联系我的出版社都好几家,说明质量还过得去吧?

做啥事情做多了,都能发现套路的,我把各种算法套路框架总结出来,相信可以帮助其他人少走弯路。我这个纯靠自学的小童鞋,花了一年时间刷题和总结,自己写了一份算法小抄,后面有目录,这里就不废话了。

使用方法

1、先给本仓库点个 star,满足一下我的虚荣心,文章质量绝对值你一个 star。我还在继续创作,给我一点继续写文的动力,感谢。

2、可以在我的 Gitbook 或者 GitHub pages 或者 我的知乎 上查看所有文章,公众号更新后会尽快更新网页,建议收藏方便电脑端查看文章(之所以同时搞 Gitbook 和 GitHub pages,是因为有的地区的读者反映 Gitbook 经常加载不出来,你可以自行选择):

Gitbook 地址(推荐):https://labuladong.gitbook.io/algo/

GitHub page 地址:https://labuladong.github.io/ebook/

3、可以关注我的公众号 labuladong 及时获取更新。我不喜欢转载乱七八糟的低质文章,坚持高质量原创,说是最良心最硬核的技术公众号都不为过

本仓库的文章就是从公众号里整理出来的一部分内容,我主要发文平台是微信公众号,公众号后台回复关键词【电子书】可以获得这份小抄的电子书版本,最近准备出版,限时免费下载;回复【加群】可以加入我们的刷题群,和大家一起讨论算法问题,分享内推机会:

其他的先不多说了,直接上干货吧,我们一起日穿 LeetCode,感受一下支配算法的乐趣。

PS:如果想下载此仓库到本地学习,不要用 git 命令下载,点击 GitHub 网页上的下载按钮直接下载 zip 文件,这样就不会下载 git 历史,大大加快下载速度

目录

感谢如下大佬参与翻译

按照昵称字典序排名:

ABCpril, andavid, bryceustc, build2645, CarrieOn, cooker, Dong Wang, ExcaliburEX, floatLig, ForeverSolar, Fulin Li, Funnyyanne, GYHHAHA, Hi_archer, Iruze, Jieyixia, Justin, Kevin, Lrc123, lriy, Lyjeeq, MasonShu, Master-cai, miaoxiaozui2017, natsunoyoru97, nettee, PaperJets, qy-yang, realism0331, SCUhzs, Seaworth, shazi4399, ShuozheLi, sinjoywong, sunqiuming526, Tianhao Zhou, timmmGZ, tommytim0515, upbin, wadegrc, walsvid, warmingkkk, Wonderxie, wsyzxxxx, xiaodp, youyun, yx-tan, Zero, Ziming

Donate

如果本仓库对你有帮助,可以请作者喝杯速溶咖啡

More Repositories

1

gaoxiang12-slambook

C++
238
star
2

wangzheng0822-algo

Python
192
star
3

jlevy-the-art-of-command-line

166
star
4

dragen1860-Deep-Learning-with-TensorFlow-book

Python
119
star
5

StevenLei2017-AI_projects

Jupyter Notebook
103
star
6

floodsung-Deep-Learning-Papers-Reading-Roadmap

Python
99
star
7

ShusenTang-Dive-into-DL-PyTorch

Jupyter Notebook
80
star
8

imhuay-Algorithm_Interview_Notes-Chinese

Python
78
star
9

ildoonet-tf-pose-estimation

Python
68
star
10

hoya012-deep_learning_object_detection

50
star
11

scutan90-DeepLearning-500-questions

44
star
12

fighting41love-funNLP

Python
28
star
13

ahong007007-Awesome_Computer_Vision

28
star
14

justjavac-free-programming-books-zh_CN

26
star
15

FavioVazquez-ds-cheatsheets

26
star
16

ddbourgin-numpy-ml

Python
25
star
17

dragen1860-TensorFlow-2.x-Tutorials

Jupyter Notebook
24
star
18

longpeng2008_yousan-ai

Python
22
star
19

SnailTyan-deep-learning-papers-translation

21
star
20

jbhuang0604-awesome-computer-vision

18
star
21

MorvanZhou-Reinforcement-learning-with-tensorflow

Python
14
star
22

TensorFlow2.0Tutorials

Jupyter Notebook
11
star
23

foolwood-benchmark_results

10
star
24

ritchieng-the-incredible-pytorch

9
star
25

kmario23-deep-learning-drizzle

9
star
26

rasbt-deeplearning-models

Jupyter Notebook
9
star
27

HCIILAB-Scene-Text-Detection

8
star
28

benedekrozemberczki-awesome-graph-classification

8
star
29

xinghaochen-awesome-hand-pose-estimation

Python
8
star
30

extreme-assistant-cvpr2019

7
star
31

STVIR-pysot

Python
7
star
32

jindongwang-MachineLearning

7
star
33

Deep-Learning-for-Medical-Applications

TeX
6
star
34

yanshengjia-ml-road

Python
6
star
35

eriklindernoren-PyTorch-GAN

Python
5
star
36

jindongwang-activityrecognition

MATLAB
5
star
37

ouyanghuiyu-chineseocr_lite

C++
5
star
38

HaydenFaulkner-pytorch.repmet

Python
4
star
39

ahong007007-awesomeCV

3
star
40

MarkMoHR-Awesome-Sketch-Synthesis

3
star
41

HuaizhengZhang-Awsome-Deep-Learning-for-Video-Analysis

3
star
42

erhwenkuo-deep-learning-with-keras-notebooks

Jupyter Notebook
3
star
43

khanhnamle1994-computer-vision

Jupyter Notebook
2
star
44

Duankaiwen-CenterNet

Python
2
star
45

hankcs-HanLP

Java
2
star
46

dbolya-yolact

Python
2
star
47

awesome-semantic-segmentation

2
star
48

PanJinquan-Face_Detection_Recognition

Python
2
star
49

yongyehuang-Tensorflow-Tutorial

Jupyter Notebook
2
star
50

Hierarchical-BiLSTM-CNN

2
star
51

researchmm-SiamDW

Python
2
star
52

JiahuiYu-generative_inpainting

Python
2
star
53

lessw2020-Best-Deep-Learning-Optimizers

Jupyter Notebook
2
star
54

hjjhjh-rspaper

2
star
55

the-gan-zoo

Python
2
star
56

Tencent-PocketFlow

Python
1
star
57

kamidox-stock-analysis

Jupyter Notebook
1
star
58

zc402-ChineseTrafficPolicePose

Jupyter Notebook
1
star
59

huggingface-transformers

Python
1
star
60

eriklindernoren-Keras-GAN

Python
1
star
61

jiajunhua474833

1
star
62

MaurizioFD-RecSys2019_DeepLearning_Evaluation

Python
1
star
63

scikit-learn-in-python

Python
1
star
64

gitdemo

1
star
65

deepmind-dm_control

Python
1
star
66

orange3_474833

Python
1
star
67

hanbt-learn_dl

Python
1
star
68

dennybritz-reinforcement-learning

Jupyter Notebook
1
star
69

kozistr-Awesome-GANs

Python
1
star
70

zhaocq-nlp-NJUNMT-tf

Python
1
star
71

VideoRecognitionTracking

C++
1
star
72

amusi-daily-paper-computer-vision-new

1
star
73

facebookresearch-VideoPose3D

Python
1
star
74

ming71-toolbox

Python
1
star
75

facebookresearch-MUSE

Python
1
star
76

SiamMask

Python
1
star
77

chineseocr-chineseocr

Jupyter Notebook
1
star
78

aymericdamien-TensorFlow-Examples

Jupyter Notebook
1
star
79

d2l-ai-d2l-zh

Python
1
star
80

aitorzip-PyTorch-SRGAN

Python
1
star
81

xfgryujk-VehicleDetection

C++
1
star
82

amusi-awesome-object-detection

1
star
83

MorvanZhou-tutorials

Python
1
star
84

jiqizhixin-ML-Tutorial-Experiment

Jupyter Notebook
1
star
85

wizyoung-YOLOv3_TensorFlow

Python
1
star
86

CV-Backbones

Python
1
star