Go to file
2020-05-23 15:21:46 -07:00
0001-Two-Sum add default return value to Two-Sum solution 2020-05-14 00:22:00 +08:00
0002-Add-Two-Numbers
0003-Longest-Substring-Without-Repeating-Characters/Article
0004-median-of-two-sorted-arrays 0004_Solved 2020-05-08 19:58:08 -05:00
0005-Longest Palindromic Substring add leetcode 5 2020-04-25 08:39:27 +08:00
0006-ZigZag Conversion
0009-Palindrome-Number/Article
0011-maxArea solved @xiaoshuai96 2020-05-06 11:35:35 +08:00
0015-3Sum 0015 Solved 2020-04-20 12:26:17 +08:00
0019-Remove-Nth-Node-From-End-of-List/Article
0020-Valid-Parentheses/Article
0021-Merge-Two-Sorted-Lists/Article
0022-Generate-Parentheses add leetcode 22 2020-05-07 10:01:07 +08:00
0023-Merge-k-Sorted-Lists/Article
0024-Swap-Nodes-in-Pairs 0024 Solved 2020-04-27 17:08:42 +08:00
0025-Reverse-Nodes-In-K-Group 0025 Solved 2020-05-09 15:33:36 +08:00
0026-Remove-Duplicates-from-Sorted-Array/Article
0034-find-first-and-last-position-of-element-in-sorted-array 0034、0035、0036 solved 2020-05-06 10:30:06 +08:00
0035-search-insert-position 0034、0035、0036 solved 2020-05-06 10:30:06 +08:00
0036-valid-sudoku 0034、0035、0036 solved 2020-05-06 10:30:06 +08:00
0042-Trap solved @xiaoshuai96 2020-05-06 11:35:35 +08:00
0048-Rotate-Image
0053 - I. Find number in sort arrayI
0058-length-Of-Last-Word solved @xiaoshuai96 2020-05-06 11:35:35 +08:00
0066-Plus-One/Article
0070-Climbing-Stairs 0070 Solved 2020-04-18 18:55:37 +08:00
0075-Sort-Colors/Article
0084-Largest-Rectangle-In-Histogram 0084 Solved 2020-04-18 19:05:59 -07:00
0086-Partition-List/Article
0088-Merge-Sorted-Array 0088 Solved 2020-05-08 14:51:56 +08:00
0092-Reverse-Linked-List-II/Article
0094-Binary-Tree-Inorder-Traversal 删除多余的gif文件 2020-04-18 19:48:48 +08:00
0101-Symmetric-Tree/Article
0102-Binary-Tree-Level-Order-Traversal/Article
0103-Binary-Tree-Zigzag-Level-Order-Traversal/Article
0104-Maximum-Depth-Of-Binary-Tree 0104 Solved 2020-04-29 18:16:35 +08:00
0107-Binary-Tree-Level-Order-Traversal-II/Article
0110-Balanced-Binary-Tree 0110 Solved 2020-04-29 11:46:01 +08:00
0118-Generate solved @xiaoshuai96 2020-05-06 11:35:35 +08:00
0120-Triangle Solved 0120 2020-05-23 15:21:46 -07:00
0124-Binary-Tree-Maximum-Path-Sum
0125-Valid-Palindrome
0128-Longest-Consecutive-Sequence Improved the gif resolution 2020-04-18 12:09:21 -07:00
0131-Palindrome-Partitioning
0133-Clone-Graph 0133 Solved 2020-05-03 18:57:49 -07:00
0136-Single-Number
0137-Single-Number-II Fix name typo 2020-05-09 16:05:35 -07:00
0138-Copy-List-with-Random-Pointer
0139-Word-Break/Article
0141-Linked-List-Cycle
0142-Linked-List-Cycle-ii 0142 Solved 2020-04-28 17:05:17 +08:00
0144-Binary-Tree-Preorder-Traversal
0145-Binary-Tree-Postorder-Traversal
0146-LRU-Cache
0150-Evaluate-Reverse-Polish-Notation
0155-min-stack Solved @zjming 2020-04-19 09:09:30 +08:00
0160-Intersection-of-Two-Linked-Lists 0160 Solved 2020-05-08 21:13:38 +08:00
0167-Two-Sum-II-Input-array-is-sorted
0169-Majority-Element
0172-Factorial-Trailing-Zeroes/Article
0200-Number-of-Islands
0201-Bitwise-And-Of-Numbers-Range/Article
0202-happy-number 0202 Solved 2020-04-26 22:34:57 +08:00
0203-Remove-Linked-List-Elements
0206-Reverse-Linked-List
0209-Minimum-Size-Subarray-Sum
0215-Kth-Largest-Element-in-an-Array Solved @zjming 2020-04-19 09:09:30 +08:00
0219-Contains-Duplicate-II
0231-Power-Of-Two/Article
0234-isPalindrome solved @xiaoshuai96 2020-05-06 11:35:35 +08:00
0237-Delete-Node-in-a-Linked-List
0239-Sliding-Window-Maximum
0260-Single-Number-III Solved 0260 2020-05-16 19:14:39 -07:00
0268-Missing-Number
0279-Perfect-Squares
0283-Move-Zeroes
0290-Word-Pattern Solved @zjming 2020-04-19 09:09:30 +08:00
0295-Find-Median-from-Data-Stream
0328-Odd-Even-Linked-List
0342-Power-Of-Four/Article
0344-Reverse-String
0347-Top-K-Frequent-Elements
0349-Intersection-of-Two-Arrays
0350-Intersection-of-Two-Arrays-II
0387-First-Unique-Character-In-String 0387 solved 2020-04-21 22:43:20 +08:00
0394-Decode-String Solved @zjming 2020-04-19 09:09:30 +08:00
0407-Trapping-Rain-Water-II 0407 Solved 2020-04-25 12:51:35 -07:00
0445-Add-Two-Numbers-II solved @xiaoshuai96 2020-05-06 11:35:35 +08:00
0447-Number-of-Boomerangs
0454-4Sum-II
0461-hamming-distance 0461、0477、1281 solved 2020-05-06 10:39:21 +08:00
0477-total-hamming-distance 0461、0477、1281 solved 2020-05-06 10:39:21 +08:00
0530-minimum-absolute-difference-in-bst 0530 solved 2020-05-13 00:30:33 +08:00
0540-Single-Element-in-a-Sorted-Array 增加动画 2020-04-27 16:08:47 +08:00
0642-Design-Search-Autocomplete-System
0695-Max-Area-of-Island 695 2020-05-09 22:53:22 +08:00
0771-Jewels-Stones 0771 Solved 2020-04-21 20:09:10 +08:00
0942-di-String-Match solved @xiaoshuai96 2020-05-17 13:43:18 +08:00
0946--validate-stack-sequences Solved @zjming 2020-04-19 09:09:30 +08:00
0994-orangesRotting solved @xiaoshuai96 2020-05-06 11:35:35 +08:00
1054-rearrangeBarcodes 替换坏的gif 2020-05-11 20:35:40 +08:00
1137-Tribonacci solved @xiaoshuai96 2020-05-06 11:35:35 +08:00
1281- subtract-the-product-and-sum-of-digits-of-an-integer 0461、0477、1281 solved 2020-05-06 10:39:21 +08:00
1351-count-negative-numbers-in-a-sorted-matrix 1351 solved 2020-05-04 16:06:40 +08:00
01394-Find-out-the-lucky-number-in-the-array 01394 solved 2020-04-22 23:23:24 +08:00
anima 设置Markdown模板 2020-04-17 23:26:19 +08:00
Interview053-I- Find-Number-In-Sort-Array-I fix: fix Interview053 format 2020-04-18 23:55:51 +08:00
notes
Pictures
template 设置Markdown模板 2020-04-17 23:26:19 +08:00
.gitattributes
.gitignore 忽略DS_Store文件的改变 2020-04-27 16:17:03 +08:00
anima.py 设置Markdown模板 2020-04-17 23:26:19 +08:00
contributing.md 添加脚本使用说明 2020-04-17 23:32:29 +08:00
README-En.md
Readme.md
requirements.txt

LeetCode Animation All in One

Travis Travis

There is an English version of README here. just click it

我会尽力将 LeetCode 上所有的题目都用动画的形式演示出来,计划用 3 到 4 年时间去完成它,期待与你见证这一天!

文章最新首发于微信公众号 图解面试算法,您可以关注获取最新的文章。

文章同步博客地址:https://www.algomooc.com

汇总

序号 题目&题解 动画
0 十大经典排序算法动画与解析,看我就够了!(配代码完全版)
1 两数之和
2 两数相加
3 无重复字符的最长子串
4 寻找两个有序数组的中位数
9 回文数
10 正则表达式匹配
11 盛最多水的容器
15 三数之和
19 删除链表的倒数第 N 个节点
20 有效的括号
21 合并两个有序链表
23 合并 K 个排序链表
24 两两交换链表中的节点
25 K 个一组翻转链表
26 删除排序数组中的重复项
32 最长有效括号
38 报数
41 缺失的第一个正数
66 加一
75 颜色分类
86 分割链表
92 反转链表 II
94 二叉树的中序遍历
101 对称二叉树
102 二叉树的层序遍历
103 二叉树的锯齿形层次遍历
107 二叉树的层次遍历 II
118 杨辉三角
119 杨辉三角II
110 平衡二叉树
121 买卖股票的最佳时机
122 买卖股票的最佳时机II
123 买卖股票的最佳时机III
125 验证回文串
131 分割回文串
136 只出现一次的数字
138 复制带随机指针
139 单词拆分
141 环形链表
144 二叉树的前序遍历
145 二叉树的后序遍历
146 LRU缓存机制
150 逆波兰表达式求值
153 寻找旋转排序数组中的最小值
164 最大间距
167 两数之和 II - 输入有序数组
169 求众数
172 阶乘后的零
187 重复的 DNA 序列
191 位1的个数
199 二叉树的右视图
201 数字范围按位与
203 移除链表元素
206 反转链表
209 长度最小的子数组
219 存在重复元素 II
229 求众数II
231 2的幂
232 使用栈实现队列
237 删除链表中的节点
239 滑动窗口最大值
242 有效的字母异位词
268 缺失数字
279 完全平方数
283 移动零
295 数据流的中位数
301 删除无效的括号
319 灯泡开关
326 3 的幂
328 奇偶链表
342 4的幂
344 反转字符串
347 前K个高频元素
349 两个数组的交集
350 两个数组的交集 II
445 两数相加 II
447 回旋镖的数量
454 四数相加 II
642 设计一个搜索自动完成系统
690 员工的重要性
739 每日温度
877 石子游戏
1025 除数博弈
1099 小于 K 的两数之和