├── .gitattributes ├── .github ├── ISSUE_TEMPLATE │ ├── 01-algo-website-bug.md │ ├── 02-algo-visualize-bug.md │ ├── 03-chrome-extension-bug.md │ ├── 04-vscode-extension-bug.md │ ├── 05-jetbrain-plugin-bug.md │ └── 06-suggestion.md └── PULL_REQUEST_TEMPLATE.md ├── .gitignore ├── README.md ├── contributor.jpg ├── pictures ├── 4keyboard │ ├── 1.jpg │ └── title.png ├── BST │ ├── BST_example.png │ ├── bst_deletion_case_1.png │ ├── bst_deletion_case_2.png │ ├── bst_deletion_case_3.png │ └── 假BST.png ├── Chrome插件 │ ├── baidumonkey.png │ ├── baidu广告.png │ ├── csdnBlock.png │ ├── githubzip.png │ ├── listen1.png │ ├── monkey.png │ ├── oneTab.png │ ├── pin.png │ ├── tree.png │ └── youhou优化.png ├── LCS │ ├── 1.png │ ├── 2.png │ ├── 3.png │ ├── dp.png │ └── lcs.png ├── LRU算法 │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ ├── 4.jpg │ └── put.jpg ├── algo4 │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ └── title.png ├── backtrack │ ├── ink-image (1).png │ ├── ink-image (2).png │ ├── ink-image (3).png │ ├── ink-image (4).png │ ├── ink-image (5).png │ ├── ink-image (6).png │ ├── ink-image.png │ ├── nqueens.png │ ├── permutation.png │ ├── 代码.png │ ├── 代码1.png │ ├── 代码2.png │ ├── 代码3.png │ └── 全排列.png ├── backtracking │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ ├── 4.jpg │ ├── 5.jpg │ ├── 6.jpg │ └── 7.jpg ├── calculator │ ├── 1.1.jpg │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ ├── 4.jpg │ ├── 5.jpg │ └── 6.jpg ├── cover.jpg ├── dupmissing │ ├── 1.gif │ ├── 2.jpg │ └── 3.jpg ├── editDistance │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ ├── 4.jpg │ ├── 5.jpg │ ├── 6.jpg │ ├── delete.gif │ ├── dp.jpg │ ├── edit.gif │ ├── insert.gif │ ├── replace.gif │ └── title.png ├── floodfill │ ├── floodfill.gif │ ├── floodfill.png │ ├── leetcode.png │ ├── ppt1.PNG │ ├── ppt2.PNG │ ├── ppt3.PNG │ ├── ppt4.PNG │ ├── ppt5.PNG │ ├── xiaoxiaole.jpg │ ├── 扫雷.png │ ├── 抠图.jpeg │ └── 抠图.jpg ├── group.jpg ├── header.jpg ├── heap │ ├── 1.png │ ├── delete.gif │ ├── insert.gif │ ├── sink.gif │ └── swim.gif ├── intersection │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ ├── 4.gif │ └── title.png ├── interval │ ├── 1.gif │ ├── 2.jpg │ ├── 3.jpg │ ├── 4.jpg │ ├── title1.png │ └── title2.png ├── kgroup │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ ├── 4.jpg │ ├── 5.jpg │ ├── 6.jpg │ ├── 7.jpg │ ├── 8.gif │ └── title.png ├── kmp │ ├── 1.gif │ ├── 2.gif │ ├── 3.gif │ ├── A.gif │ ├── allstate.jpg │ ├── back.jpg │ ├── dfa.gif │ ├── exp1.jpg │ ├── exp2.jpg │ ├── exp3.jpg │ ├── exp4.jpg │ ├── exp5.jpg │ ├── exp6.jpg │ ├── exp7.jpg │ ├── forward.jpg │ ├── kmp.gif │ ├── shadow.jpg │ ├── shadow1.jpg │ ├── shadow2.jpg │ ├── state.jpg │ ├── state2.jpg │ ├── state4.jpg │ ├── txt1.jpg │ ├── txt2.jpg │ ├── txt3.jpg │ ├── txt4.jpg │ └── z.jpg ├── labuladong.png ├── linux-fs │ ├── application.png │ ├── apt.png │ ├── bin.png │ ├── boot.png │ ├── cpu.png │ ├── desktop.png │ ├── dev.png │ ├── etc.png │ ├── home.png │ ├── linux-filesystem.png │ ├── log.png │ ├── opt.png │ ├── proc.png │ ├── root.png │ ├── sbin.png │ ├── tmp.png │ ├── usr.png │ └── usrbin.png ├── linuxProcess │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ ├── 4.jpg │ ├── 5.jpg │ ├── 6.jpg │ ├── 7.jpg │ └── 8.jpg ├── linuxshell │ └── 1.png ├── mergeInterval │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.gif │ └── title.png ├── online │ ├── 1.png │ ├── 10.png │ ├── 11.png │ ├── 2.png │ ├── 3.png │ ├── 4.png │ ├── 5.png │ ├── 6.png │ ├── 7.png │ ├── 8.png │ └── 9.png ├── others │ └── leetcode.jpeg ├── pancakeSort │ ├── 1.jpg │ ├── 2.png │ ├── 3.jpg │ ├── 4.jpg │ └── title.png ├── pay.jpg ├── plugin │ ├── chrome.gif │ ├── chrome.jpg │ ├── jetbrain.gif │ ├── jetbrain.jpg │ ├── vscode.gif │ ├── vscode.jpg │ └── 全家桶.jpg ├── prime │ └── 1.gif ├── qrcode.jpg ├── redis入侵 │ ├── 1.png │ ├── 2.png │ ├── 3.png │ ├── 4.png │ ├── 5.png │ └── 6.png ├── robber │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ ├── title.png │ └── title1.png ├── session │ ├── 1.png │ ├── 2.png │ ├── 3.png │ └── 4.jpg ├── souyisou.png ├── souyisou2.png ├── unionfind │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ ├── 4.jpg │ ├── 5.jpg │ ├── 6.jpg │ ├── 7.jpg │ ├── 8.jpg │ └── 9.gif ├── unionfind应用 │ ├── 1.jpg │ ├── 2.jpg │ └── 3.jpg ├── youtube │ ├── 1.png │ ├── 1573133096614.jpeg │ ├── 1573133131308.jpeg │ ├── 2.jpg │ ├── 3.jpg │ └── 4.jpg ├── 二分应用 │ ├── title1.png │ └── title2.png ├── 二分查找 │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ ├── 4.jpg │ ├── binarySearch1.png │ ├── binarySearch2.png │ └── poem.png ├── 位操作 │ ├── 1.png │ └── title.png ├── 信封嵌套 │ ├── 0.jpg │ ├── 1.jpg │ ├── 2.jpg │ └── title.png ├── 全家桶.jpg ├── 前缀和 │ ├── 1.jpg │ ├── 2.jpg │ └── title.png ├── 动态规划详解 │ ├── coindp.png │ ├── coinfunc.png │ ├── cointree.png │ ├── fibdp.png │ ├── fibfunc.png │ ├── fibmemo.png │ ├── fibtree.png │ ├── img_20190514_013033.441.png │ ├── img_20190514_013830.397.png │ ├── ink-image (1).png │ ├── ink-image (2).png │ ├── ink-image (3).png │ ├── ink-image (4).png │ └── ink-image.png ├── 动态规划详解进阶 │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ ├── 4.jpg │ ├── 5.jpg │ ├── 6.jpg │ ├── coin.png │ └── fib.png ├── 单调栈 │ ├── 1.png │ ├── 2.png │ └── 3.png ├── 单调队列 │ ├── 1.png │ ├── 2.png │ ├── 3.png │ └── title.png ├── 博弈问题 │ ├── 1.png │ ├── 2.png │ ├── 3.png │ └── 4.png ├── 双指针 │ ├── 1.png │ ├── 2.png │ ├── 3.png │ ├── center.png │ └── title.png ├── 反转链表 │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ ├── 4.jpg │ ├── 5.jpg │ ├── 6.jpg │ ├── 7.jpg │ └── title.png ├── 回文 │ └── title.png ├── 回文链表 │ ├── 1.gif │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ └── 4.jpg ├── 子序列 │ ├── 1.gif │ ├── 1.jpg │ ├── 2.gif │ ├── 2.jpg │ └── 3.jpg ├── 子集 │ ├── 1.jpg │ ├── 2.jpg │ └── 3.jpg ├── 字符串乘法 │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ ├── 4.gif │ ├── 6.jpg │ └── title.png ├── 密码技术 │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ ├── 4.jpg │ ├── 5.jpg │ ├── 6.jpg │ └── 7.jpg ├── 座位调度 │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ ├── 4.jpg │ ├── 5.jpg │ ├── 6.jpg │ └── 7.jpg ├── 扔鸡蛋 │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ └── dp.png ├── 接雨水 │ ├── 0.jpg │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ ├── 4.jpg │ ├── 5.jpg │ └── title.png ├── 数组交换 │ ├── ink-image (1).png │ ├── ink-image (2).png │ ├── ink-image (3).png │ └── ink-image.png ├── 最优子结构 │ └── 1.jpg ├── 最长回文子序列 │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ ├── 4.jpg │ └── 5.jpg ├── 最长递增子序列 │ ├── 1.jpeg │ ├── 2.jpeg │ ├── 3.jpeg │ ├── gif1.gif │ ├── gif2.gif │ ├── poker1.jpeg │ ├── poker2.jpeg │ ├── poker3.jpeg │ ├── poker4.jpeg │ └── title.png ├── 有序数组去重 │ ├── 1.gif │ ├── 2.gif │ └── title.png ├── 栈队列 │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ ├── 4.jpg │ ├── 5.jpg │ └── 6.jpg ├── 概率问题 │ ├── p.png │ ├── p.svg │ ├── sanmen.png │ ├── sanmen.svg │ └── tree.png ├── 正则 │ ├── 1.jpeg │ ├── 2.jpeg │ ├── 3.jpeg │ ├── 4.jpeg │ ├── example.png │ └── title.png ├── 洗牌算法 │ ├── 1.png │ ├── 2.png │ ├── 3.png │ ├── 4.png │ ├── 5.jpg │ └── 6.png ├── 滑动窗口 │ ├── 0.png │ ├── 1.png │ ├── 2.png │ ├── 3.png │ ├── title1.png │ ├── title2.png │ └── title3.png ├── 缺失元素 │ ├── 1.jpg │ ├── 2.jpg │ ├── 3.jpg │ ├── title.png │ └── xor.png ├── 股票问题 │ ├── 1.png │ └── title.png └── 设计Twitter │ ├── design.png │ ├── merge.gif │ ├── tweet.jpg │ └── user.jpg ├── starHistory.jpg ├── starHistory.png ├── 动态规划系列 ├── LCS.md ├── README.md ├── 动态规划之KMP字符匹配算法.md ├── 动态规划之博弈问题.md ├── 动态规划之四键键盘.md ├── 动态规划之正则表达.md ├── 动态规划设计:最长递增子序列.md ├── 动态规划详解进阶.md ├── 单词拼接.md ├── 团灭股票问题.md ├── 子序列问题模板.md ├── 抢房子.md ├── 最优子结构.md ├── 状态压缩技巧.md ├── 编辑距离.md ├── 背包问题.md ├── 贪心算法之区间调度问题.md ├── 高楼扔鸡蛋问题.md └── 魔塔.md ├── 多语言解法代码 ├── contribution-guide.md └── solution_code.md ├── 技术 ├── linuxshell.md ├── linux进程.md ├── redis入侵.md ├── session和cookie.md ├── 刷题技巧.md ├── 在线练习平台.md └── 密码技术.md ├── 数据结构系列 ├── BST1.md ├── BST2.md ├── README.md ├── dijkstra算法.md ├── 二叉堆详解实现优先级队列.md ├── 二叉树总结.md ├── 二叉树系列1.md ├── 二叉树系列2.md ├── 单调栈.md ├── 单调队列.md ├── 图.md ├── 实现计算器.md ├── 拓扑排序.md ├── 设计Twitter.md ├── 递归反转链表的一部分.md └── 队列实现栈栈实现队列.md ├── 算法思维系列 ├── BFS框架.md ├── BFS解决滑动拼图.md ├── README.md ├── UnionFind算法详解.md ├── 二分查找详解.md ├── 几个反直觉的概率问题.md ├── 前缀和技巧.md ├── 双指针技巧.md ├── 回溯算法详解修订版.md ├── 字符串乘法.md ├── 学习数据结构和算法的高效方法.md ├── 差分技巧.md ├── 常用的位操作.md ├── 洗牌算法.md ├── 滑动窗口技巧进阶.md ├── 烧饼排序.md ├── 花式遍历.md └── 集合划分.md └── 高频面试系列 ├── LRU算法.md ├── README.md ├── k个一组反转链表.md ├── 一行代码解决的智力题.md ├── 二分查找判定子序列.md ├── 二分运用.md ├── 判断回文链表.md ├── 名人问题.md ├── 子集排列组合.md ├── 安排会议室.md ├── 岛屿题目.md ├── 座位调度.md ├── 打印素数.md ├── 接雨水.md ├── 缺失和重复的元素.md └── 随机权重.md /.gitattributes: -------------------------------------------------------------------------------- 1 | *.md linguist-detectable=true 2 | *.md linguist-documentation=false -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/01-algo-website-bug.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Website bug 3 | about: Report bug on website `labuladong.online` 4 | title: '' 5 | labels: algo-websie-bug 6 | assignees: labuladong 7 | 8 | --- 9 | 10 | **Network condition:** 11 | China network or Global network? 12 | 13 | **Describe the bug** 14 | A clear and concise description of what the bug is. 15 | 16 | **Screenshots** 17 | If applicable, add screenshots to help explain your problem. 18 | 19 | **Platform** 20 | Mobile phone or PC? 21 | What kind of web browser? (chrome/edge/...) 22 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/02-algo-visualize-bug.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Algo-visualize bug 3 | about: Report bug for algo-visualize tool in website/plugins 4 | title: '' 5 | labels: algo-visualize-bug 6 | assignees: labuladong 7 | 8 | --- 9 | 10 | 11 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/03-chrome-extension-bug.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Chrome extension bug 3 | about: Report bug on Chrome extension 4 | title: '' 5 | labels: algo-website, chrome-extension-bug 6 | assignees: labuladong 7 | 8 | --- 9 | 10 | **Describe the bug** 11 | A clear and concise description of what the bug is. 12 | 13 | **Screenshots** 14 | If applicable, add screenshots to help explain your problem. 15 | 16 | **Platform** 17 | What kind of web browser are you using? (chrome/edge/...) 18 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/04-vscode-extension-bug.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: VSCode extension bug 3 | about: Report bug on vscode extension 4 | title: '' 5 | labels: vscode-extension-bug 6 | assignees: labuladong 7 | 8 | --- 9 | 10 | **Version:** 11 | What's the extension version are you using? 12 | 13 | **Describe the bug** 14 | A clear and concise description of what the bug is. 15 | 16 | **Screenshots** 17 | If applicable, add screenshots to help explain your problem. 18 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/05-jetbrain-plugin-bug.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: JetBrain plugin bug 3 | about: Report bug on JetBrain plugin 4 | title: '' 5 | labels: jb-plugin-bug 6 | assignees: labuladong 7 | 8 | --- 9 | 10 | **Version:** 11 | What's the plugin version are you using? 12 | 13 | **Describe the bug** 14 | A clear and concise description of what the bug is. 15 | 16 | **Screenshots** 17 | If applicable, add screenshots to help explain your problem. 18 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/06-suggestion.md: -------------------------------------------------------------------------------- 1 | --- 2 | name: Suggestion 3 | about: Suggest an idea/improvement for this project 4 | title: '' 5 | labels: feature-request 6 | assignees: labuladong 7 | 8 | --- 9 | 10 | Do you have any suggestions? 11 | 12 | Is there anything that you feel inconvenient to use? 13 | -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_store 2 | -------------------------------------------------------------------------------- /contributor.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/contributor.jpg -------------------------------------------------------------------------------- /pictures/4keyboard/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/4keyboard/1.jpg -------------------------------------------------------------------------------- /pictures/4keyboard/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/4keyboard/title.png -------------------------------------------------------------------------------- /pictures/BST/BST_example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/BST/BST_example.png -------------------------------------------------------------------------------- /pictures/BST/bst_deletion_case_1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/BST/bst_deletion_case_1.png -------------------------------------------------------------------------------- /pictures/BST/bst_deletion_case_2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/BST/bst_deletion_case_2.png -------------------------------------------------------------------------------- /pictures/BST/bst_deletion_case_3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/BST/bst_deletion_case_3.png -------------------------------------------------------------------------------- /pictures/BST/假BST.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/BST/假BST.png -------------------------------------------------------------------------------- /pictures/Chrome插件/baidumonkey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/Chrome插件/baidumonkey.png -------------------------------------------------------------------------------- /pictures/Chrome插件/baidu广告.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/Chrome插件/baidu广告.png -------------------------------------------------------------------------------- /pictures/Chrome插件/csdnBlock.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/Chrome插件/csdnBlock.png -------------------------------------------------------------------------------- /pictures/Chrome插件/githubzip.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/Chrome插件/githubzip.png -------------------------------------------------------------------------------- /pictures/Chrome插件/listen1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/Chrome插件/listen1.png -------------------------------------------------------------------------------- /pictures/Chrome插件/monkey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/Chrome插件/monkey.png -------------------------------------------------------------------------------- /pictures/Chrome插件/oneTab.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/Chrome插件/oneTab.png -------------------------------------------------------------------------------- /pictures/Chrome插件/pin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/Chrome插件/pin.png -------------------------------------------------------------------------------- /pictures/Chrome插件/tree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/Chrome插件/tree.png -------------------------------------------------------------------------------- /pictures/Chrome插件/youhou优化.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/Chrome插件/youhou优化.png -------------------------------------------------------------------------------- /pictures/LCS/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/LCS/1.png -------------------------------------------------------------------------------- /pictures/LCS/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/LCS/2.png -------------------------------------------------------------------------------- /pictures/LCS/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/LCS/3.png -------------------------------------------------------------------------------- /pictures/LCS/dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/LCS/dp.png -------------------------------------------------------------------------------- /pictures/LCS/lcs.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/LCS/lcs.png -------------------------------------------------------------------------------- /pictures/LRU算法/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/LRU算法/1.jpg -------------------------------------------------------------------------------- /pictures/LRU算法/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/LRU算法/2.jpg -------------------------------------------------------------------------------- /pictures/LRU算法/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/LRU算法/3.jpg -------------------------------------------------------------------------------- /pictures/LRU算法/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/LRU算法/4.jpg -------------------------------------------------------------------------------- /pictures/LRU算法/put.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/LRU算法/put.jpg -------------------------------------------------------------------------------- /pictures/algo4/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/algo4/1.jpg -------------------------------------------------------------------------------- /pictures/algo4/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/algo4/2.jpg -------------------------------------------------------------------------------- /pictures/algo4/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/algo4/3.jpg -------------------------------------------------------------------------------- /pictures/algo4/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/algo4/title.png -------------------------------------------------------------------------------- /pictures/backtrack/ink-image (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/backtrack/ink-image (1).png -------------------------------------------------------------------------------- /pictures/backtrack/ink-image (2).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/backtrack/ink-image (2).png -------------------------------------------------------------------------------- /pictures/backtrack/ink-image (3).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/backtrack/ink-image (3).png -------------------------------------------------------------------------------- /pictures/backtrack/ink-image (4).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/backtrack/ink-image (4).png -------------------------------------------------------------------------------- /pictures/backtrack/ink-image (5).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/backtrack/ink-image (5).png -------------------------------------------------------------------------------- /pictures/backtrack/ink-image (6).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/backtrack/ink-image (6).png -------------------------------------------------------------------------------- /pictures/backtrack/ink-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/backtrack/ink-image.png -------------------------------------------------------------------------------- /pictures/backtrack/nqueens.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/backtrack/nqueens.png -------------------------------------------------------------------------------- /pictures/backtrack/permutation.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/backtrack/permutation.png -------------------------------------------------------------------------------- /pictures/backtrack/代码.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/backtrack/代码.png -------------------------------------------------------------------------------- /pictures/backtrack/代码1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/backtrack/代码1.png -------------------------------------------------------------------------------- /pictures/backtrack/代码2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/backtrack/代码2.png -------------------------------------------------------------------------------- /pictures/backtrack/代码3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/backtrack/代码3.png -------------------------------------------------------------------------------- /pictures/backtrack/全排列.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/backtrack/全排列.png -------------------------------------------------------------------------------- /pictures/backtracking/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/backtracking/1.jpg -------------------------------------------------------------------------------- /pictures/backtracking/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/backtracking/2.jpg -------------------------------------------------------------------------------- /pictures/backtracking/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/backtracking/3.jpg -------------------------------------------------------------------------------- /pictures/backtracking/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/backtracking/4.jpg -------------------------------------------------------------------------------- /pictures/backtracking/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/backtracking/5.jpg -------------------------------------------------------------------------------- /pictures/backtracking/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/backtracking/6.jpg -------------------------------------------------------------------------------- /pictures/backtracking/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/backtracking/7.jpg -------------------------------------------------------------------------------- /pictures/calculator/1.1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/calculator/1.1.jpg -------------------------------------------------------------------------------- /pictures/calculator/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/calculator/1.jpg -------------------------------------------------------------------------------- /pictures/calculator/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/calculator/2.jpg -------------------------------------------------------------------------------- /pictures/calculator/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/calculator/3.jpg -------------------------------------------------------------------------------- /pictures/calculator/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/calculator/4.jpg -------------------------------------------------------------------------------- /pictures/calculator/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/calculator/5.jpg -------------------------------------------------------------------------------- /pictures/calculator/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/calculator/6.jpg -------------------------------------------------------------------------------- /pictures/cover.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/cover.jpg -------------------------------------------------------------------------------- /pictures/dupmissing/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/dupmissing/1.gif -------------------------------------------------------------------------------- /pictures/dupmissing/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/dupmissing/2.jpg -------------------------------------------------------------------------------- /pictures/dupmissing/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/dupmissing/3.jpg -------------------------------------------------------------------------------- /pictures/editDistance/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/editDistance/1.jpg -------------------------------------------------------------------------------- /pictures/editDistance/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/editDistance/2.jpg -------------------------------------------------------------------------------- /pictures/editDistance/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/editDistance/3.jpg -------------------------------------------------------------------------------- /pictures/editDistance/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/editDistance/4.jpg -------------------------------------------------------------------------------- /pictures/editDistance/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/editDistance/5.jpg -------------------------------------------------------------------------------- /pictures/editDistance/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/editDistance/6.jpg -------------------------------------------------------------------------------- /pictures/editDistance/delete.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/editDistance/delete.gif -------------------------------------------------------------------------------- /pictures/editDistance/dp.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/editDistance/dp.jpg -------------------------------------------------------------------------------- /pictures/editDistance/edit.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/editDistance/edit.gif -------------------------------------------------------------------------------- /pictures/editDistance/insert.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/editDistance/insert.gif -------------------------------------------------------------------------------- /pictures/editDistance/replace.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/editDistance/replace.gif -------------------------------------------------------------------------------- /pictures/editDistance/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/editDistance/title.png -------------------------------------------------------------------------------- /pictures/floodfill/floodfill.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/floodfill/floodfill.gif -------------------------------------------------------------------------------- /pictures/floodfill/floodfill.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/floodfill/floodfill.png -------------------------------------------------------------------------------- /pictures/floodfill/leetcode.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/floodfill/leetcode.png -------------------------------------------------------------------------------- /pictures/floodfill/ppt1.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/floodfill/ppt1.PNG -------------------------------------------------------------------------------- /pictures/floodfill/ppt2.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/floodfill/ppt2.PNG -------------------------------------------------------------------------------- /pictures/floodfill/ppt3.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/floodfill/ppt3.PNG -------------------------------------------------------------------------------- /pictures/floodfill/ppt4.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/floodfill/ppt4.PNG -------------------------------------------------------------------------------- /pictures/floodfill/ppt5.PNG: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/floodfill/ppt5.PNG -------------------------------------------------------------------------------- /pictures/floodfill/xiaoxiaole.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/floodfill/xiaoxiaole.jpg -------------------------------------------------------------------------------- /pictures/floodfill/扫雷.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/floodfill/扫雷.png -------------------------------------------------------------------------------- /pictures/floodfill/抠图.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/floodfill/抠图.jpeg -------------------------------------------------------------------------------- /pictures/floodfill/抠图.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/floodfill/抠图.jpg -------------------------------------------------------------------------------- /pictures/group.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/group.jpg -------------------------------------------------------------------------------- /pictures/header.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/header.jpg -------------------------------------------------------------------------------- /pictures/heap/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/heap/1.png -------------------------------------------------------------------------------- /pictures/heap/delete.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/heap/delete.gif -------------------------------------------------------------------------------- /pictures/heap/insert.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/heap/insert.gif -------------------------------------------------------------------------------- /pictures/heap/sink.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/heap/sink.gif -------------------------------------------------------------------------------- /pictures/heap/swim.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/heap/swim.gif -------------------------------------------------------------------------------- /pictures/intersection/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/intersection/1.jpg -------------------------------------------------------------------------------- /pictures/intersection/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/intersection/2.jpg -------------------------------------------------------------------------------- /pictures/intersection/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/intersection/3.jpg -------------------------------------------------------------------------------- /pictures/intersection/4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/intersection/4.gif -------------------------------------------------------------------------------- /pictures/intersection/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/intersection/title.png -------------------------------------------------------------------------------- /pictures/interval/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/interval/1.gif -------------------------------------------------------------------------------- /pictures/interval/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/interval/2.jpg -------------------------------------------------------------------------------- /pictures/interval/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/interval/3.jpg -------------------------------------------------------------------------------- /pictures/interval/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/interval/4.jpg -------------------------------------------------------------------------------- /pictures/interval/title1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/interval/title1.png -------------------------------------------------------------------------------- /pictures/interval/title2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/interval/title2.png -------------------------------------------------------------------------------- /pictures/kgroup/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kgroup/1.jpg -------------------------------------------------------------------------------- /pictures/kgroup/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kgroup/2.jpg -------------------------------------------------------------------------------- /pictures/kgroup/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kgroup/3.jpg -------------------------------------------------------------------------------- /pictures/kgroup/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kgroup/4.jpg -------------------------------------------------------------------------------- /pictures/kgroup/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kgroup/5.jpg -------------------------------------------------------------------------------- /pictures/kgroup/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kgroup/6.jpg -------------------------------------------------------------------------------- /pictures/kgroup/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kgroup/7.jpg -------------------------------------------------------------------------------- /pictures/kgroup/8.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kgroup/8.gif -------------------------------------------------------------------------------- /pictures/kgroup/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kgroup/title.png -------------------------------------------------------------------------------- /pictures/kmp/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/1.gif -------------------------------------------------------------------------------- /pictures/kmp/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/2.gif -------------------------------------------------------------------------------- /pictures/kmp/3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/3.gif -------------------------------------------------------------------------------- /pictures/kmp/A.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/A.gif -------------------------------------------------------------------------------- /pictures/kmp/allstate.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/allstate.jpg -------------------------------------------------------------------------------- /pictures/kmp/back.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/back.jpg -------------------------------------------------------------------------------- /pictures/kmp/dfa.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/dfa.gif -------------------------------------------------------------------------------- /pictures/kmp/exp1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/exp1.jpg -------------------------------------------------------------------------------- /pictures/kmp/exp2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/exp2.jpg -------------------------------------------------------------------------------- /pictures/kmp/exp3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/exp3.jpg -------------------------------------------------------------------------------- /pictures/kmp/exp4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/exp4.jpg -------------------------------------------------------------------------------- /pictures/kmp/exp5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/exp5.jpg -------------------------------------------------------------------------------- /pictures/kmp/exp6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/exp6.jpg -------------------------------------------------------------------------------- /pictures/kmp/exp7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/exp7.jpg -------------------------------------------------------------------------------- /pictures/kmp/forward.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/forward.jpg -------------------------------------------------------------------------------- /pictures/kmp/kmp.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/kmp.gif -------------------------------------------------------------------------------- /pictures/kmp/shadow.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/shadow.jpg -------------------------------------------------------------------------------- /pictures/kmp/shadow1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/shadow1.jpg -------------------------------------------------------------------------------- /pictures/kmp/shadow2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/shadow2.jpg -------------------------------------------------------------------------------- /pictures/kmp/state.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/state.jpg -------------------------------------------------------------------------------- /pictures/kmp/state2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/state2.jpg -------------------------------------------------------------------------------- /pictures/kmp/state4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/state4.jpg -------------------------------------------------------------------------------- /pictures/kmp/txt1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/txt1.jpg -------------------------------------------------------------------------------- /pictures/kmp/txt2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/txt2.jpg -------------------------------------------------------------------------------- /pictures/kmp/txt3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/txt3.jpg -------------------------------------------------------------------------------- /pictures/kmp/txt4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/txt4.jpg -------------------------------------------------------------------------------- /pictures/kmp/z.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/kmp/z.jpg -------------------------------------------------------------------------------- /pictures/labuladong.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/labuladong.png -------------------------------------------------------------------------------- /pictures/linux-fs/application.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linux-fs/application.png -------------------------------------------------------------------------------- /pictures/linux-fs/apt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linux-fs/apt.png -------------------------------------------------------------------------------- /pictures/linux-fs/bin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linux-fs/bin.png -------------------------------------------------------------------------------- /pictures/linux-fs/boot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linux-fs/boot.png -------------------------------------------------------------------------------- /pictures/linux-fs/cpu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linux-fs/cpu.png -------------------------------------------------------------------------------- /pictures/linux-fs/desktop.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linux-fs/desktop.png -------------------------------------------------------------------------------- /pictures/linux-fs/dev.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linux-fs/dev.png -------------------------------------------------------------------------------- /pictures/linux-fs/etc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linux-fs/etc.png -------------------------------------------------------------------------------- /pictures/linux-fs/home.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linux-fs/home.png -------------------------------------------------------------------------------- /pictures/linux-fs/linux-filesystem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linux-fs/linux-filesystem.png -------------------------------------------------------------------------------- /pictures/linux-fs/log.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linux-fs/log.png -------------------------------------------------------------------------------- /pictures/linux-fs/opt.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linux-fs/opt.png -------------------------------------------------------------------------------- /pictures/linux-fs/proc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linux-fs/proc.png -------------------------------------------------------------------------------- /pictures/linux-fs/root.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linux-fs/root.png -------------------------------------------------------------------------------- /pictures/linux-fs/sbin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linux-fs/sbin.png -------------------------------------------------------------------------------- /pictures/linux-fs/tmp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linux-fs/tmp.png -------------------------------------------------------------------------------- /pictures/linux-fs/usr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linux-fs/usr.png -------------------------------------------------------------------------------- /pictures/linux-fs/usrbin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linux-fs/usrbin.png -------------------------------------------------------------------------------- /pictures/linuxProcess/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linuxProcess/1.jpg -------------------------------------------------------------------------------- /pictures/linuxProcess/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linuxProcess/2.jpg -------------------------------------------------------------------------------- /pictures/linuxProcess/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linuxProcess/3.jpg -------------------------------------------------------------------------------- /pictures/linuxProcess/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linuxProcess/4.jpg -------------------------------------------------------------------------------- /pictures/linuxProcess/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linuxProcess/5.jpg -------------------------------------------------------------------------------- /pictures/linuxProcess/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linuxProcess/6.jpg -------------------------------------------------------------------------------- /pictures/linuxProcess/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linuxProcess/7.jpg -------------------------------------------------------------------------------- /pictures/linuxProcess/8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linuxProcess/8.jpg -------------------------------------------------------------------------------- /pictures/linuxshell/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/linuxshell/1.png -------------------------------------------------------------------------------- /pictures/mergeInterval/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/mergeInterval/1.jpg -------------------------------------------------------------------------------- /pictures/mergeInterval/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/mergeInterval/2.jpg -------------------------------------------------------------------------------- /pictures/mergeInterval/3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/mergeInterval/3.gif -------------------------------------------------------------------------------- /pictures/mergeInterval/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/mergeInterval/title.png -------------------------------------------------------------------------------- /pictures/online/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/online/1.png -------------------------------------------------------------------------------- /pictures/online/10.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/online/10.png -------------------------------------------------------------------------------- /pictures/online/11.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/online/11.png -------------------------------------------------------------------------------- /pictures/online/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/online/2.png -------------------------------------------------------------------------------- /pictures/online/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/online/3.png -------------------------------------------------------------------------------- /pictures/online/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/online/4.png -------------------------------------------------------------------------------- /pictures/online/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/online/5.png -------------------------------------------------------------------------------- /pictures/online/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/online/6.png -------------------------------------------------------------------------------- /pictures/online/7.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/online/7.png -------------------------------------------------------------------------------- /pictures/online/8.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/online/8.png -------------------------------------------------------------------------------- /pictures/online/9.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/online/9.png -------------------------------------------------------------------------------- /pictures/others/leetcode.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/others/leetcode.jpeg -------------------------------------------------------------------------------- /pictures/pancakeSort/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/pancakeSort/1.jpg -------------------------------------------------------------------------------- /pictures/pancakeSort/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/pancakeSort/2.png -------------------------------------------------------------------------------- /pictures/pancakeSort/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/pancakeSort/3.jpg -------------------------------------------------------------------------------- /pictures/pancakeSort/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/pancakeSort/4.jpg -------------------------------------------------------------------------------- /pictures/pancakeSort/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/pancakeSort/title.png -------------------------------------------------------------------------------- /pictures/pay.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/pay.jpg -------------------------------------------------------------------------------- /pictures/plugin/chrome.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/plugin/chrome.gif -------------------------------------------------------------------------------- /pictures/plugin/chrome.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/plugin/chrome.jpg -------------------------------------------------------------------------------- /pictures/plugin/jetbrain.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/plugin/jetbrain.gif -------------------------------------------------------------------------------- /pictures/plugin/jetbrain.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/plugin/jetbrain.jpg -------------------------------------------------------------------------------- /pictures/plugin/vscode.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/plugin/vscode.gif -------------------------------------------------------------------------------- /pictures/plugin/vscode.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/plugin/vscode.jpg -------------------------------------------------------------------------------- /pictures/plugin/全家桶.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/plugin/全家桶.jpg -------------------------------------------------------------------------------- /pictures/prime/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/prime/1.gif -------------------------------------------------------------------------------- /pictures/qrcode.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/qrcode.jpg -------------------------------------------------------------------------------- /pictures/redis入侵/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/redis入侵/1.png -------------------------------------------------------------------------------- /pictures/redis入侵/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/redis入侵/2.png -------------------------------------------------------------------------------- /pictures/redis入侵/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/redis入侵/3.png -------------------------------------------------------------------------------- /pictures/redis入侵/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/redis入侵/4.png -------------------------------------------------------------------------------- /pictures/redis入侵/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/redis入侵/5.png -------------------------------------------------------------------------------- /pictures/redis入侵/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/redis入侵/6.png -------------------------------------------------------------------------------- /pictures/robber/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/robber/1.jpg -------------------------------------------------------------------------------- /pictures/robber/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/robber/2.jpg -------------------------------------------------------------------------------- /pictures/robber/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/robber/3.jpg -------------------------------------------------------------------------------- /pictures/robber/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/robber/title.png -------------------------------------------------------------------------------- /pictures/robber/title1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/robber/title1.png -------------------------------------------------------------------------------- /pictures/session/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/session/1.png -------------------------------------------------------------------------------- /pictures/session/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/session/2.png -------------------------------------------------------------------------------- /pictures/session/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/session/3.png -------------------------------------------------------------------------------- /pictures/session/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/session/4.jpg -------------------------------------------------------------------------------- /pictures/souyisou.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/souyisou.png -------------------------------------------------------------------------------- /pictures/souyisou2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/souyisou2.png -------------------------------------------------------------------------------- /pictures/unionfind/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/unionfind/1.jpg -------------------------------------------------------------------------------- /pictures/unionfind/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/unionfind/2.jpg -------------------------------------------------------------------------------- /pictures/unionfind/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/unionfind/3.jpg -------------------------------------------------------------------------------- /pictures/unionfind/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/unionfind/4.jpg -------------------------------------------------------------------------------- /pictures/unionfind/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/unionfind/5.jpg -------------------------------------------------------------------------------- /pictures/unionfind/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/unionfind/6.jpg -------------------------------------------------------------------------------- /pictures/unionfind/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/unionfind/7.jpg -------------------------------------------------------------------------------- /pictures/unionfind/8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/unionfind/8.jpg -------------------------------------------------------------------------------- /pictures/unionfind/9.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/unionfind/9.gif -------------------------------------------------------------------------------- /pictures/unionfind应用/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/unionfind应用/1.jpg -------------------------------------------------------------------------------- /pictures/unionfind应用/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/unionfind应用/2.jpg -------------------------------------------------------------------------------- /pictures/unionfind应用/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/unionfind应用/3.jpg -------------------------------------------------------------------------------- /pictures/youtube/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/youtube/1.png -------------------------------------------------------------------------------- /pictures/youtube/1573133096614.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/youtube/1573133096614.jpeg -------------------------------------------------------------------------------- /pictures/youtube/1573133131308.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/youtube/1573133131308.jpeg -------------------------------------------------------------------------------- /pictures/youtube/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/youtube/2.jpg -------------------------------------------------------------------------------- /pictures/youtube/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/youtube/3.jpg -------------------------------------------------------------------------------- /pictures/youtube/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/youtube/4.jpg -------------------------------------------------------------------------------- /pictures/二分应用/title1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/二分应用/title1.png -------------------------------------------------------------------------------- /pictures/二分应用/title2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/二分应用/title2.png -------------------------------------------------------------------------------- /pictures/二分查找/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/二分查找/1.jpg -------------------------------------------------------------------------------- /pictures/二分查找/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/二分查找/2.jpg -------------------------------------------------------------------------------- /pictures/二分查找/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/二分查找/3.jpg -------------------------------------------------------------------------------- /pictures/二分查找/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/二分查找/4.jpg -------------------------------------------------------------------------------- /pictures/二分查找/binarySearch1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/二分查找/binarySearch1.png -------------------------------------------------------------------------------- /pictures/二分查找/binarySearch2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/二分查找/binarySearch2.png -------------------------------------------------------------------------------- /pictures/二分查找/poem.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/二分查找/poem.png -------------------------------------------------------------------------------- /pictures/位操作/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/位操作/1.png -------------------------------------------------------------------------------- /pictures/位操作/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/位操作/title.png -------------------------------------------------------------------------------- /pictures/信封嵌套/0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/信封嵌套/0.jpg -------------------------------------------------------------------------------- /pictures/信封嵌套/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/信封嵌套/1.jpg -------------------------------------------------------------------------------- /pictures/信封嵌套/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/信封嵌套/2.jpg -------------------------------------------------------------------------------- /pictures/信封嵌套/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/信封嵌套/title.png -------------------------------------------------------------------------------- /pictures/全家桶.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/全家桶.jpg -------------------------------------------------------------------------------- /pictures/前缀和/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/前缀和/1.jpg -------------------------------------------------------------------------------- /pictures/前缀和/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/前缀和/2.jpg -------------------------------------------------------------------------------- /pictures/前缀和/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/前缀和/title.png -------------------------------------------------------------------------------- /pictures/动态规划详解/coindp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/动态规划详解/coindp.png -------------------------------------------------------------------------------- /pictures/动态规划详解/coinfunc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/动态规划详解/coinfunc.png -------------------------------------------------------------------------------- /pictures/动态规划详解/cointree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/动态规划详解/cointree.png -------------------------------------------------------------------------------- /pictures/动态规划详解/fibdp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/动态规划详解/fibdp.png -------------------------------------------------------------------------------- /pictures/动态规划详解/fibfunc.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/动态规划详解/fibfunc.png -------------------------------------------------------------------------------- /pictures/动态规划详解/fibmemo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/动态规划详解/fibmemo.png -------------------------------------------------------------------------------- /pictures/动态规划详解/fibtree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/动态规划详解/fibtree.png -------------------------------------------------------------------------------- /pictures/动态规划详解/img_20190514_013033.441.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/动态规划详解/img_20190514_013033.441.png -------------------------------------------------------------------------------- /pictures/动态规划详解/img_20190514_013830.397.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/动态规划详解/img_20190514_013830.397.png -------------------------------------------------------------------------------- /pictures/动态规划详解/ink-image (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/动态规划详解/ink-image (1).png -------------------------------------------------------------------------------- /pictures/动态规划详解/ink-image (2).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/动态规划详解/ink-image (2).png -------------------------------------------------------------------------------- /pictures/动态规划详解/ink-image (3).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/动态规划详解/ink-image (3).png -------------------------------------------------------------------------------- /pictures/动态规划详解/ink-image (4).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/动态规划详解/ink-image (4).png -------------------------------------------------------------------------------- /pictures/动态规划详解/ink-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/动态规划详解/ink-image.png -------------------------------------------------------------------------------- /pictures/动态规划详解进阶/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/动态规划详解进阶/1.jpg -------------------------------------------------------------------------------- /pictures/动态规划详解进阶/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/动态规划详解进阶/2.jpg -------------------------------------------------------------------------------- /pictures/动态规划详解进阶/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/动态规划详解进阶/3.jpg -------------------------------------------------------------------------------- /pictures/动态规划详解进阶/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/动态规划详解进阶/4.jpg -------------------------------------------------------------------------------- /pictures/动态规划详解进阶/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/动态规划详解进阶/5.jpg -------------------------------------------------------------------------------- /pictures/动态规划详解进阶/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/动态规划详解进阶/6.jpg -------------------------------------------------------------------------------- /pictures/动态规划详解进阶/coin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/动态规划详解进阶/coin.png -------------------------------------------------------------------------------- /pictures/动态规划详解进阶/fib.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/动态规划详解进阶/fib.png -------------------------------------------------------------------------------- /pictures/单调栈/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/单调栈/1.png -------------------------------------------------------------------------------- /pictures/单调栈/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/单调栈/2.png -------------------------------------------------------------------------------- /pictures/单调栈/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/单调栈/3.png -------------------------------------------------------------------------------- /pictures/单调队列/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/单调队列/1.png -------------------------------------------------------------------------------- /pictures/单调队列/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/单调队列/2.png -------------------------------------------------------------------------------- /pictures/单调队列/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/单调队列/3.png -------------------------------------------------------------------------------- /pictures/单调队列/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/单调队列/title.png -------------------------------------------------------------------------------- /pictures/博弈问题/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/博弈问题/1.png -------------------------------------------------------------------------------- /pictures/博弈问题/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/博弈问题/2.png -------------------------------------------------------------------------------- /pictures/博弈问题/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/博弈问题/3.png -------------------------------------------------------------------------------- /pictures/博弈问题/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/博弈问题/4.png -------------------------------------------------------------------------------- /pictures/双指针/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/双指针/1.png -------------------------------------------------------------------------------- /pictures/双指针/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/双指针/2.png -------------------------------------------------------------------------------- /pictures/双指针/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/双指针/3.png -------------------------------------------------------------------------------- /pictures/双指针/center.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/双指针/center.png -------------------------------------------------------------------------------- /pictures/双指针/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/双指针/title.png -------------------------------------------------------------------------------- /pictures/反转链表/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/反转链表/1.jpg -------------------------------------------------------------------------------- /pictures/反转链表/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/反转链表/2.jpg -------------------------------------------------------------------------------- /pictures/反转链表/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/反转链表/3.jpg -------------------------------------------------------------------------------- /pictures/反转链表/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/反转链表/4.jpg -------------------------------------------------------------------------------- /pictures/反转链表/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/反转链表/5.jpg -------------------------------------------------------------------------------- /pictures/反转链表/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/反转链表/6.jpg -------------------------------------------------------------------------------- /pictures/反转链表/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/反转链表/7.jpg -------------------------------------------------------------------------------- /pictures/反转链表/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/反转链表/title.png -------------------------------------------------------------------------------- /pictures/回文/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/回文/title.png -------------------------------------------------------------------------------- /pictures/回文链表/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/回文链表/1.gif -------------------------------------------------------------------------------- /pictures/回文链表/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/回文链表/1.jpg -------------------------------------------------------------------------------- /pictures/回文链表/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/回文链表/2.jpg -------------------------------------------------------------------------------- /pictures/回文链表/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/回文链表/3.jpg -------------------------------------------------------------------------------- /pictures/回文链表/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/回文链表/4.jpg -------------------------------------------------------------------------------- /pictures/子序列/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/子序列/1.gif -------------------------------------------------------------------------------- /pictures/子序列/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/子序列/1.jpg -------------------------------------------------------------------------------- /pictures/子序列/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/子序列/2.gif -------------------------------------------------------------------------------- /pictures/子序列/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/子序列/2.jpg -------------------------------------------------------------------------------- /pictures/子序列/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/子序列/3.jpg -------------------------------------------------------------------------------- /pictures/子集/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/子集/1.jpg -------------------------------------------------------------------------------- /pictures/子集/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/子集/2.jpg -------------------------------------------------------------------------------- /pictures/子集/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/子集/3.jpg -------------------------------------------------------------------------------- /pictures/字符串乘法/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/字符串乘法/1.jpg -------------------------------------------------------------------------------- /pictures/字符串乘法/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/字符串乘法/2.jpg -------------------------------------------------------------------------------- /pictures/字符串乘法/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/字符串乘法/3.jpg -------------------------------------------------------------------------------- /pictures/字符串乘法/4.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/字符串乘法/4.gif -------------------------------------------------------------------------------- /pictures/字符串乘法/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/字符串乘法/6.jpg -------------------------------------------------------------------------------- /pictures/字符串乘法/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/字符串乘法/title.png -------------------------------------------------------------------------------- /pictures/密码技术/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/密码技术/1.jpg -------------------------------------------------------------------------------- /pictures/密码技术/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/密码技术/2.jpg -------------------------------------------------------------------------------- /pictures/密码技术/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/密码技术/3.jpg -------------------------------------------------------------------------------- /pictures/密码技术/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/密码技术/4.jpg -------------------------------------------------------------------------------- /pictures/密码技术/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/密码技术/5.jpg -------------------------------------------------------------------------------- /pictures/密码技术/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/密码技术/6.jpg -------------------------------------------------------------------------------- /pictures/密码技术/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/密码技术/7.jpg -------------------------------------------------------------------------------- /pictures/座位调度/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/座位调度/1.jpg -------------------------------------------------------------------------------- /pictures/座位调度/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/座位调度/2.jpg -------------------------------------------------------------------------------- /pictures/座位调度/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/座位调度/3.jpg -------------------------------------------------------------------------------- /pictures/座位调度/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/座位调度/4.jpg -------------------------------------------------------------------------------- /pictures/座位调度/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/座位调度/5.jpg -------------------------------------------------------------------------------- /pictures/座位调度/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/座位调度/6.jpg -------------------------------------------------------------------------------- /pictures/座位调度/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/座位调度/7.jpg -------------------------------------------------------------------------------- /pictures/扔鸡蛋/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/扔鸡蛋/1.jpg -------------------------------------------------------------------------------- /pictures/扔鸡蛋/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/扔鸡蛋/2.jpg -------------------------------------------------------------------------------- /pictures/扔鸡蛋/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/扔鸡蛋/3.jpg -------------------------------------------------------------------------------- /pictures/扔鸡蛋/dp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/扔鸡蛋/dp.png -------------------------------------------------------------------------------- /pictures/接雨水/0.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/接雨水/0.jpg -------------------------------------------------------------------------------- /pictures/接雨水/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/接雨水/1.jpg -------------------------------------------------------------------------------- /pictures/接雨水/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/接雨水/2.jpg -------------------------------------------------------------------------------- /pictures/接雨水/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/接雨水/3.jpg -------------------------------------------------------------------------------- /pictures/接雨水/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/接雨水/4.jpg -------------------------------------------------------------------------------- /pictures/接雨水/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/接雨水/5.jpg -------------------------------------------------------------------------------- /pictures/接雨水/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/接雨水/title.png -------------------------------------------------------------------------------- /pictures/数组交换/ink-image (1).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/数组交换/ink-image (1).png -------------------------------------------------------------------------------- /pictures/数组交换/ink-image (2).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/数组交换/ink-image (2).png -------------------------------------------------------------------------------- /pictures/数组交换/ink-image (3).png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/数组交换/ink-image (3).png -------------------------------------------------------------------------------- /pictures/数组交换/ink-image.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/数组交换/ink-image.png -------------------------------------------------------------------------------- /pictures/最优子结构/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/最优子结构/1.jpg -------------------------------------------------------------------------------- /pictures/最长回文子序列/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/最长回文子序列/1.jpg -------------------------------------------------------------------------------- /pictures/最长回文子序列/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/最长回文子序列/2.jpg -------------------------------------------------------------------------------- /pictures/最长回文子序列/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/最长回文子序列/3.jpg -------------------------------------------------------------------------------- /pictures/最长回文子序列/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/最长回文子序列/4.jpg -------------------------------------------------------------------------------- /pictures/最长回文子序列/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/最长回文子序列/5.jpg -------------------------------------------------------------------------------- /pictures/最长递增子序列/1.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/最长递增子序列/1.jpeg -------------------------------------------------------------------------------- /pictures/最长递增子序列/2.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/最长递增子序列/2.jpeg -------------------------------------------------------------------------------- /pictures/最长递增子序列/3.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/最长递增子序列/3.jpeg -------------------------------------------------------------------------------- /pictures/最长递增子序列/gif1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/最长递增子序列/gif1.gif -------------------------------------------------------------------------------- /pictures/最长递增子序列/gif2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/最长递增子序列/gif2.gif -------------------------------------------------------------------------------- /pictures/最长递增子序列/poker1.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/最长递增子序列/poker1.jpeg -------------------------------------------------------------------------------- /pictures/最长递增子序列/poker2.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/最长递增子序列/poker2.jpeg -------------------------------------------------------------------------------- /pictures/最长递增子序列/poker3.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/最长递增子序列/poker3.jpeg -------------------------------------------------------------------------------- /pictures/最长递增子序列/poker4.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/最长递增子序列/poker4.jpeg -------------------------------------------------------------------------------- /pictures/最长递增子序列/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/最长递增子序列/title.png -------------------------------------------------------------------------------- /pictures/有序数组去重/1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/有序数组去重/1.gif -------------------------------------------------------------------------------- /pictures/有序数组去重/2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/有序数组去重/2.gif -------------------------------------------------------------------------------- /pictures/有序数组去重/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/有序数组去重/title.png -------------------------------------------------------------------------------- /pictures/栈队列/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/栈队列/1.jpg -------------------------------------------------------------------------------- /pictures/栈队列/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/栈队列/2.jpg -------------------------------------------------------------------------------- /pictures/栈队列/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/栈队列/3.jpg -------------------------------------------------------------------------------- /pictures/栈队列/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/栈队列/4.jpg -------------------------------------------------------------------------------- /pictures/栈队列/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/栈队列/5.jpg -------------------------------------------------------------------------------- /pictures/栈队列/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/栈队列/6.jpg -------------------------------------------------------------------------------- /pictures/概率问题/p.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/概率问题/p.png -------------------------------------------------------------------------------- /pictures/概率问题/sanmen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/概率问题/sanmen.png -------------------------------------------------------------------------------- /pictures/概率问题/tree.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/概率问题/tree.png -------------------------------------------------------------------------------- /pictures/正则/1.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/正则/1.jpeg -------------------------------------------------------------------------------- /pictures/正则/2.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/正则/2.jpeg -------------------------------------------------------------------------------- /pictures/正则/3.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/正则/3.jpeg -------------------------------------------------------------------------------- /pictures/正则/4.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/正则/4.jpeg -------------------------------------------------------------------------------- /pictures/正则/example.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/正则/example.png -------------------------------------------------------------------------------- /pictures/正则/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/正则/title.png -------------------------------------------------------------------------------- /pictures/洗牌算法/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/洗牌算法/1.png -------------------------------------------------------------------------------- /pictures/洗牌算法/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/洗牌算法/2.png -------------------------------------------------------------------------------- /pictures/洗牌算法/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/洗牌算法/3.png -------------------------------------------------------------------------------- /pictures/洗牌算法/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/洗牌算法/4.png -------------------------------------------------------------------------------- /pictures/洗牌算法/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/洗牌算法/5.jpg -------------------------------------------------------------------------------- /pictures/洗牌算法/6.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/洗牌算法/6.png -------------------------------------------------------------------------------- /pictures/滑动窗口/0.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/滑动窗口/0.png -------------------------------------------------------------------------------- /pictures/滑动窗口/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/滑动窗口/1.png -------------------------------------------------------------------------------- /pictures/滑动窗口/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/滑动窗口/2.png -------------------------------------------------------------------------------- /pictures/滑动窗口/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/滑动窗口/3.png -------------------------------------------------------------------------------- /pictures/滑动窗口/title1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/滑动窗口/title1.png -------------------------------------------------------------------------------- /pictures/滑动窗口/title2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/滑动窗口/title2.png -------------------------------------------------------------------------------- /pictures/滑动窗口/title3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/滑动窗口/title3.png -------------------------------------------------------------------------------- /pictures/缺失元素/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/缺失元素/1.jpg -------------------------------------------------------------------------------- /pictures/缺失元素/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/缺失元素/2.jpg -------------------------------------------------------------------------------- /pictures/缺失元素/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/缺失元素/3.jpg -------------------------------------------------------------------------------- /pictures/缺失元素/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/缺失元素/title.png -------------------------------------------------------------------------------- /pictures/缺失元素/xor.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/缺失元素/xor.png -------------------------------------------------------------------------------- /pictures/股票问题/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/股票问题/1.png -------------------------------------------------------------------------------- /pictures/股票问题/title.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/股票问题/title.png -------------------------------------------------------------------------------- /pictures/设计Twitter/design.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/设计Twitter/design.png -------------------------------------------------------------------------------- /pictures/设计Twitter/merge.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/设计Twitter/merge.gif -------------------------------------------------------------------------------- /pictures/设计Twitter/tweet.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/设计Twitter/tweet.jpg -------------------------------------------------------------------------------- /pictures/设计Twitter/user.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/pictures/设计Twitter/user.jpg -------------------------------------------------------------------------------- /starHistory.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/starHistory.jpg -------------------------------------------------------------------------------- /starHistory.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/labuladong/fucking-algorithm/c5894e6c85f55a84a36932609edcc94cfd493a77/starHistory.png -------------------------------------------------------------------------------- /动态规划系列/README.md: -------------------------------------------------------------------------------- 1 | # 动态规划系列 2 | 3 | 我们公众号最火的就是动态规划系列的文章,也许是动态规划问题有难度而且有意思,也许因为它是面试常考题型。不管你之前是否害怕动态规划系列的问题,相信这一章的内容足以帮助你消除对动态规划算法的恐惧。 4 | 5 | 具体来说,动态规划的一般流程就是三步:**暴力的递归解法 -> 带备忘录的递归解法 -> 迭代的动态规划解法**。 6 | 7 | 就思考流程来说,就分为一下几步:**找到状态和选择 -> 明确 dp 数组/函数的定义 -> 寻找状态之间的关系**。 8 | 9 | 这就是思维模式的框架,**本章都会按照以上的模式来解决问题,辅助读者养成这种模式思维**,有了方向遇到问题就不会抓瞎,足以解决一般的动态规划问题。 10 | 11 | 欢迎关注我的公众号 labuladong,查看全部文章: 12 | 13 |  -------------------------------------------------------------------------------- /动态规划系列/背包问题.md: -------------------------------------------------------------------------------- 1 | # 经典动态规划:0-1 背包问题 2 | 3 | 4 | 5 |  6 | 7 | **通知:为满足广大读者的需求,网站上架 [速成目录](https://labuladong.online/algo/intro/quick-learning-plan/),如有需要可以看下,谢谢大家的支持~另外,建议你在我的 [网站](https://labuladong.online/algo/) 学习文章,体验更好。** 8 | 9 | 10 | 11 | **-----------** 12 | 13 | 14 | 15 | > [!NOTE] 16 | > 阅读本文前,你需要先学习: 17 | > 18 | > - [动态规划核心框架](https://labuladong.online/algo/essential-technique/dynamic-programming-framework/) 19 | 20 | > tip:本文有视频版:[0-1背包问题详解](https://www.bilibili.com/video/BV15B4y1P7X7/)。建议关注我的 B 站账号,我会用视频领读的方式带大家学习那些稍有难度的算法技巧。 21 | 22 | 23 | 24 | 后台天天有人问背包问题,这个问题其实不难,借助动态规划的思维框架,无非还是状态 + 选择,没啥特别之处。今天就来说一下背包问题吧,就讨论最常见的 0-1 背包问题。描述: 25 | 26 | 给你一个可装载重量为 `W` 的背包和 `N` 个物品,每个物品有重量和价值两个属性。其中第 `i` 个物品的重量为 `wt[i]`,价值为 `val[i]`。现在让你用这个背包装物品,每个物品只能用一次,在不超过背包容量的前提下,最多能装的价值是多少? 27 | 28 |  29 | 30 | 举个简单的例子,输入如下: 31 | 32 | ```py 33 | N = 3, W = 4 34 | wt = [2, 1, 3] 35 | val = [4, 2, 3] 36 | ``` 37 | 38 | 算法返回 6,选择前两件物品装进背包,总重量 3 小于 `W`,可以获得最大价值 6。 39 | 40 | 题目就是这么简单,一个典型的动态规划问题。这个题目中的物品不可以分割,要么装进包里,要么不装,不能说切成两块装一半。这就是 0-1 背包这个名词的来历。 41 | 42 | 解决这个问题没有什么排序之类巧妙的方法,只能穷举所有可能,根据我们 [动态规划详解](https://labuladong.online/algo/essential-technique/dynamic-programming-framework/) 中的套路,直接走流程就行了。 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | ## 动规标准套路 51 | 52 | 看来每篇动态规划文章都得重复一遍套路,历史文章中的动态规划问题都是按照下面的套路来的。 53 | 54 | **第一步要明确两点,「状态」和「选择」**。 55 | 56 | 先说状态,如何才能描述一个问题局面?只要给几个物品和一个背包的容量限制,就形成了一个背包问题呀。**所以状态有两个,就是「背包的容量」和「可选择的物品」**。 57 | 58 | 再说选择,也很容易想到啊,对于每件物品,你能选择什么?**选择就是「装进背包」或者「不装进背包」嘛**。 59 | 60 | 明白了状态和选择,动态规划问题基本上就解决了,对于自底向上的思考方式,代码的一般框架是这样: 61 | 62 | ```python 63 | for 状态1 in 状态1的所有取值: 64 | for 状态2 in 状态2的所有取值: 65 | for ... 66 | dp[状态1][状态2][...] = 择优(选择1,选择2...) 67 | ``` 68 | 69 | **第二步要明确 `dp` 数组的定义**。 70 | 71 | 首先看看刚才找到的「状态」,有两个,也就是说我们需要一个二维 `dp` 数组。 72 | 73 | `dp[i][w]` 的定义如下:对于前 `i` 个物品,当前背包的容量为 `w`,这种情况下可以装的最大价值是 `dp[i][w]`。 74 | 75 | 比如说,如果 `dp[3][5] = 6`,其含义为:对于给定的一系列物品中,若只对前 3 个物品进行选择,当背包容量为 5 时,最多可以装下的价值为 6。 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | > [!NOTE] 84 | > 为什么要这么定义?因为这样可以找到状态转移关系,或者说这就是背包问题的特殊定义方式,你当做套路记下来就行,未来遇到动态规划相关问题,都可以这样定义试一试。 85 | 86 | 根据这个定义,我们想求的最终答案就是 `dp[N][W]`。base case 就是 `dp[0][..] = dp[..][0] = 0`,因为没有物品或者背包没有空间的时候,能装的最大价值就是 0。 87 | 88 | 细化上面的框架: 89 | 90 | ```python 91 | int[][] dp[N+1][W+1] 92 | dp[0][..] = 0 93 | dp[..][0] = 0 94 | 95 | for i in [1..N]: 96 | for w in [1..W]: 97 | dp[i][w] = max( 98 | 把物品 i 装进背包, 99 | 不把物品 i 装进背包 100 | ) 101 | return dp[N][W] 102 | ``` 103 | 104 | **第三步,根据「选择」,思考状态转移的逻辑**。 105 | 106 | 简单说就是,上面伪码中「把物品 `i` 装进背包」和「不把物品 `i` 装进背包」怎么用代码体现出来呢? 107 | 108 | 这就要结合对 `dp` 数组的定义,看看这两种选择会对状态产生什么影响: 109 | 110 | 111 | 112 | 113 | 114 | 115 | 116 | 先重申一下刚才我们的 `dp` 数组的定义: 117 | 118 | `dp[i][w]` 表示:对于前 `i` 个物品(从 1 开始计数),当前背包的容量为 `w` 时,这种情况下可以装下的最大价值是 `dp[i][w]`。 119 | 120 | **如果你没有把这第 `i` 个物品装入背包**,那么很显然,最大价值 `dp[i][w]` 应该等于 `dp[i-1][w]`,继承之前的结果。 121 | 122 | **如果你把这第 `i` 个物品装入了背包**,那么 `dp[i][w]` 应该等于 `val[i-1] + dp[i-1][w - wt[i-1]]`。 123 | 124 | 首先,由于数组索引从 0 开始,而我们定义中的 `i` 是从 1 开始计数的,所以 `val[i-1]` 和 `wt[i-1]` 表示第 `i` 个物品的价值和重量。 125 | 126 | 你如果选择将第 `i` 个物品装进背包,那么第 `i` 个物品的价值 `val[i-1]` 肯定就到手了,接下来你就要在剩余容量 `w - wt[i-1]` 的限制下,在前 `i - 1` 个物品中挑选,求最大价值,即 `dp[i-1][w - wt[i-1]]`。 127 | 128 | 综上就是两种选择,我们都已经分析完毕,也就是写出来了状态转移方程,可以进一步细化代码: 129 | 130 | ```python 131 | for i in [1..N]: 132 | for w in [1..W]: 133 | dp[i][w] = max( 134 | dp[i-1][w], 135 | dp[i-1][w - wt[i-1]] + val[i-1] 136 | ) 137 | return dp[N][W] 138 | ``` 139 | 140 | **最后一步,把伪码翻译成代码,处理一些边界情况**。 141 | 142 | 我用 Java 写的代码,把上面的思路完全翻译了一遍,并且处理了 `w - wt[i-1]` 可能小于 0 导致数组索引越界的问题: 143 | 144 | ```java 145 | int knapsack(int W, int N, int[] wt, int[] val) { 146 | assert N == wt.length; 147 | // base case 已初始化 148 | int[][] dp = new int[N + 1][W + 1]; 149 | for (int i = 1; i <= N; i++) { 150 | for (int w = 1; w <= W; w++) { 151 | if (w - wt[i - 1] < 0) { 152 | // 这种情况下只能选择不装入背包 153 | dp[i][w] = dp[i - 1][w]; 154 | } else { 155 | // 装入或者不装入背包,择优 156 | dp[i][w] = Math.max( 157 | dp[i - 1][w - wt[i-1]] + val[i-1], 158 | dp[i - 1][w] 159 | ); 160 | } 161 | } 162 | } 163 | 164 | return dp[N][W]; 165 | } 166 | ``` 167 | 168 | 169 |