File tree
309 files changed
+13793
-230
lines changed- CLRS
- 台大课件
- CLRS脚本
- Cracking The Coding Interview
- Check BST
- 像素翻转
- 字符串
- 原串翻转
- 基本字符串压缩
- 确定两串乱序同构
- 确定字符互异
- 空格替换
- 树
- 二叉树平衡
- 最近公共祖先
- 树转链表
- 链表
- 回文链表
- 访问单个节点的删除
- 链式A+B
- 链表中倒数第K个结点
- 链表分割
- Data Structure with Python
- Dynamic_Programming
- Classical_Problem
- Sorting
- leetcode
- #492-Construct the Rectangle
- Array
- #163-Missing Ranges
- #167-Two Sum II- Input Array is sorted
- #169-Majority Element
- #229-Majority Element II
- #243-Shortest Word Distance
- #414-Third Maximum Number
- #485-Max Consecutive Ones
- #495-Teemo Attacking
- #57-Insert Interval
- Backtracking
- #216-Combination Sum III
- #39-Combination Sum
- #46-Permutations
- #47-Permutations II
- #78-Subsets
- #79-Word Search
- #90-Subsets II
- Binary Search
- #153-Find Minimum in Rotated Sorted Array
- #154-Find Minimum in Rotated Sorted Array II
- #162-Find Peak Element
- #222-Count Complete Tree Nodes
- #278-First Bad Version
- #29-Divide Two Integers
- #302-Smallest Rectangle Enclosing Black Pixels
- #33-Search in Rotated Sorted Array
- #34-Search for Range
- #367-Valid Perfect Square
- #69-Sqrt(x)
- #81-Search in Rotated Sorted Array II
- Bit Manipulation
- #137-Single Number II
- #260-Single Number III
- #461-Hamming Distance
- #476-Number Complement
- Breadth First Search
- #200-Number of Islands
- #289-Game of Life
- #419-Battleships in a Board
- #529-Minesweeper
- Depth-First Search
- #339-Nested List Weight Sum
- #366-Find Leaves of Binary Tree
- Design
- #208-Implement Trie(Prefix Tree)
- #244-Shortest Word Distance II
- #251-Flatten 2D Vector
- #281-Zigzag Iterator
- #284-Peeking Iterator
- #346-Moving Average from Data Stream
- #359-Logger Rate Limiter
- #380-Insert Delete GetRandom O(1)
- #384-Shuffle an Array
- Divide and Conquer
- #105-Construct Binary Tree from Preorder and Inorder Traversal
- #106-Construct Binary Tree from Inorder and Postorder Traversal
- #108-Convert Sorted Array to Binary Search Tree
- #109-Convert Sorted List to Binary Search Tree
- Draft Question
- #448-Find All numbers disappeared in an Array
- #451-Sort Characters By Frequency
- Dynamic Programming
- #120-Triangle
- #121-Best Time to Buy and Sell stock
- #152-Maximum Product Subarray
- #256-Paint House
- #265-Paint House II
- #300-Longest Increasing Subsequence
- #303-Range Sum Query
- #304-Range Sum Query 2D - Immutable
- #322-Coin Change
- #329-Longest Increasing Path in a Matrix
- #338-Counting Bits
- #392-Is Subsequence
- #413-Arithmetic Slices
- #416-Partition Equal Subset Sum
- #53-Maximum Subarray
- #62-Unique Paths
- #63-Unique Paths II
- #64-Minimum Path Sum
- #72-Edit Distance
- #96-Unique Binary Search Trees
- Greedy
- #122-Best Time to Buy and Sell Stock II
- #134-Gas Station
- #55-Jump Game
- Hash_Table
- #249-Group Shifted Strings
- #266-Palindrome Permutation
- #288-Unique Word Abbreviation
- #325-Maximum Size Subarray Sum Equals k
- #409-Longest Palindrome
- #49-Group Anagrams
- #508-Most Frequent Subtree Sum
- Heap
- #239-Sliding Window Maximum
- #378-Kth Smallest Element in a Sorted Matrix
- Linked List
- #138-Copy List with Random Pointer
- #141-Linked List Cycle
- #142-Linked List Cycle II
- #2-Add Two Numbers
- #23-Merge K sorted lists
- #25-Reverse Nodes in k-Group
- #369-Plus One Linked List
- #445-Add Two Numbers II
- #86-Partition List
- #92-Reverse Linked List II
- Math
- #168-Excel Sheet Column Title
- #172-Factorial Trailing Zeroes
- #204-Count Primes
- #223-Rectangle Area
- #231-Power of Two
- #258-Add Digits
- #396-Rotate Function
- #415-Add Strings
- #43-Multiply Strings
- #504-Base 7
- #60-Permutation Sequence
- Matrix
- #240-Search a 2D Matrix II
- #422-Valid Word Square
- #463-Island Perimeter
- #48-Rotate Image
- #54-Spiral Matrix
- #59-Spiral MatirxII
- #73-Set Matrix Zeroes
- Reservoir Sampling
- #382-Linked List Random Node
- #398-Random Pick Index
- Segment Tree/#307-Range Sum Query - Mutable
- Sort
- #252-Meeting Rooms
- #280-Wiggle Sort
- #56-Merge Intervals
- Stack
- #155-Min Stack
- #224-Basic Calculator
- #331-Verify Preorder Serialization of a Binary Tree
- #394-Decode String
- #496-Next Greater Element I
- String
- #13-Roman to Integer
- #14-Longest Common Prefix
- #151-Reverse Words in a String
- #161-One Edit Distance
- #186-Reverse Words in a String II
- #246-Strobogrammatic Number
- #293-Flip Game
- #38-Count and Say
- #434-Number of Segments in a String
- #459-Repeated Substring Pattern
- #5-Longest Palindromic Substring
- #520-Detect Capital
- #8-String to Integer
- Topological Sort
- #207-Course Schedule
- #210-Course Schedule II
- Tree
- #103-Binary Tree Zigzag Level Order Traversal
- #110-Balanced Binary Tree
- #114-Flatten Binary Tree to Linked List
- #116-Populating Next Right Pointers in Each Node
- #117-Populating Next Right Pointers in Each Node II
- #129-Sum Root of Leaf Numbers
- #144-Binary Tree Preorder Traversal
- #145-Binary Tree Postorder Traversal
- #173-Binary Search Iterator
- #199-Binary Tree Right Side View
- #236-Lowest Common Ancestor of a Binary Tree
- #250-Count Univalue Subtrees
- #270-Closest Binary Search Tree Value
- #285-Inorder Successor in BST
- #297-Serialize and Deserialize Binary Tree
- #298-Binary Tree Longest Consecutive Sequence
- #333-Largest BST Subtree
- #404-Sum of Left Leaves
- #437-Path Sum III
- #449-Serialize and Deserialize BST
- #450-Delete Node in a BST
- #501-Find Mode in Binary Search Tree
- #530-Minimum Absolute Diff in BST
- #94-Inorder Traversal
- #96-Unique Binary Search Trees
- #99-Recover Binary Search Tree
- Two Pointers
- #11-Container With Most Water
- #15-3Sum
- #16-3Sum Closest
- #18-4Sum
- #209-Minimum Size Subarray Sum
- #228-Summary Ranges
- #26-Remove Duplicates from Sorted Array
- #3-Longest Substring Without Repeating Characters
- #75-Sort Colors
- #80-Remove Duplicates from Sorted Array II
- Union Find
- #261-Graph Valid Tree
- #323-Number of Connected Components in an Undirected Graph
- 书
- Python算法只看这两本书就行了(不要再去找这种书了!)
- Python算法
- 数据结构 with Python
- 北大算法课
- DFS
- 动态规划
- 牛客网
- 经典算法汇总
- Graph
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
309 files changed
+13793
-230
lines changed6 KB
Binary file not shown.
2 KB
Binary file not shown.
+35-15
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 |
| - | |
3 |
| - | |
4 |
| - | |
5 |
| - | |
6 |
| - | |
7 |
| - | |
8 |
| - | |
9 |
| - | |
10 |
| - | |
11 |
| - | |
12 |
| - | |
13 |
| - | |
14 |
| - | |
15 |
| - | |
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + |
+14
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + |
-113
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1 |
| - | |
2 |
| - | |
3 |
| - | |
4 |
| - | |
5 |
| - | |
6 |
| - | |
7 |
| - | |
8 |
| - | |
9 |
| - | |
10 |
| - | |
11 |
| - | |
12 |
| - | |
13 |
| - | |
14 |
| - | |
15 |
| - | |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 |
| - | |
20 |
| - | |
21 |
| - | |
22 |
| - | |
23 |
| - | |
24 |
| - | |
25 |
| - | |
26 |
| - | |
27 |
| - | |
28 |
| - | |
29 |
| - | |
30 |
| - | |
31 |
| - | |
32 |
| - | |
33 |
| - | |
34 |
| - | |
35 |
| - | |
36 |
| - | |
37 |
| - | |
38 |
| - | |
39 |
| - | |
40 |
| - | |
41 |
| - | |
42 |
| - | |
43 |
| - | |
44 |
| - | |
45 |
| - | |
46 |
| - | |
47 |
| - | |
48 |
| - | |
49 |
| - | |
50 |
| - | |
51 |
| - | |
52 |
| - | |
53 |
| - | |
54 |
| - | |
55 |
| - | |
56 |
| - | |
57 |
| - | |
58 |
| - | |
59 |
| - | |
60 |
| - | |
61 |
| - | |
62 |
| - | |
63 |
| - | |
64 |
| - | |
65 |
| - | |
66 |
| - | |
67 |
| - | |
68 |
| - | |
69 |
| - | |
70 |
| - | |
71 |
| - | |
72 |
| - | |
73 |
| - | |
74 |
| - | |
75 |
| - | |
76 |
| - | |
77 |
| - | |
78 |
| - | |
79 |
| - | |
80 |
| - | |
81 |
| - | |
82 |
| - | |
83 |
| - | |
84 |
| - | |
85 |
| - | |
86 |
| - | |
87 |
| - | |
88 |
| - | |
89 |
| - | |
90 |
| - | |
91 |
| - | |
92 |
| - | |
93 |
| - | |
94 |
| - | |
95 |
| - | |
96 |
| - | |
97 |
| - | |
98 |
| - | |
99 |
| - | |
100 |
| - | |
101 |
| - | |
102 |
| - | |
103 |
| - | |
104 |
| - | |
105 |
| - | |
106 |
| - | |
107 |
| - | |
108 |
| - | |
109 |
| - | |
110 |
| - | |
111 |
| - | |
112 |
| - | |
113 |
| - |
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + |
Whitespace-only changes.
0 commit comments