File tree
244 files changed
+17104
-16780
lines changed- lcci/16.19.Pond Sizes
- lcof
- 面试题06. 从尾到头打印链表
- 面试题24. 反转链表
- 面试题25. 合并两个排序的链表
- 面试题27. 二叉树的镜像
- 面试题51. 数组中的逆序对
- 面试题55 - I. 二叉树的深度
- 面试题68 - I. 二叉搜索树的最近公共祖先
- lcof2
- 剑指 Offer II 017. 含有所有字符的最短字符串
- 剑指 Offer II 041. 滑动窗口的平均值
- 剑指 Offer II 055. 二叉搜索树迭代器
- 剑指 Offer II 067. 最大的异或
- 剑指 Offer II 105. 岛屿的最大面积
- 剑指 Offer II 106. 二分图
- 剑指 Offer II 111. 计算除法
- 剑指 Offer II 116. 朋友圈
- 剑指 Offer II 117. 相似的字符串
- 剑指 Offer II 118. 多余的边
- lcs/LCS 03. 主题空间
- solution
- 0000-0099
- 0005.Longest Palindromic Substring
- 0021.Merge Two Sorted Lists
- 0057.Insert Interval
- 0097.Interleaving String
- 0100-0199
- 0116.Populating Next Right Pointers in Each Node
- 0117.Populating Next Right Pointers in Each Node II
- 0127.Word Ladder
- 0130.Surrounded Regions
- 0139.Word Break
- 0151.Reverse Words in a String
- 0173.Binary Search Tree Iterator
- 0191.Number of 1 Bits
- 0200-0299
- 0200.Number of Islands
- 0230.Kth Smallest Element in a BST
- 0239.Sliding Window Maximum
- 0261.Graph Valid Tree
- 0271.Encode and Decode Strings
- 0300-0399
- 0305.Number of Islands II
- 0307.Range Sum Query - Mutable
- 0308.Range Sum Query 2D - Mutable
- 0315.Count of Smaller Numbers After Self
- 0323.Number of Connected Components in an Undirected Graph
- 0346.Moving Average from Data Stream
- 0365.Water and Jug Problem
- 0374.Guess Number Higher or Lower
- 0399.Evaluate Division
- 0400-0499
- 0421.Maximum XOR of Two Numbers in an Array
- 0429.N-ary Tree Level Order Traversal
- 0433.Minimum Genetic Mutation
- 0473.Matchsticks to Square
- 0490.The Maze
- 0493.Reverse Pairs
- 0500-0599
- 0527.Word Abbreviation
- 0594.Longest Harmonious Subsequence
- 0600-0699
- 0623.Add One Row to Tree
- 0658.Find K Closest Elements
- 0676.Implement Magic Dictionary
- 0684.Redundant Connection
- 0693.Binary Number with Alternating Bits
- 0695.Max Area of Island
- 0700-0799
- 0705.Design HashSet
- 0707.Design Linked List
- 0721.Accounts Merge
- 0731.My Calendar II
- 0737.Sentence Similarity II
- 0743.Network Delay Time
- 0745.Prefix and Suffix Search
- 0752.Open the Lock
- 0773.Sliding Puzzle
- 0775.Global and Local Inversions
- 0778.Swim in Rising Water
- 0785.Is Graph Bipartite
- 0787.Cheapest Flights Within K Stops
- 0795.Number of Subarrays with Bounded Maximum
- 0800-0899
- 0803.Bricks Falling When Hit
- 0839.Similar String Groups
- 0863.All Nodes Distance K in Binary Tree
- 0879.Profitable Schemes
- 0895.Maximum Frequency Stack
- 0900-0999
- 0912.Sort an Array
- 0924.Minimize Malware Spread
- 0928.Minimize Malware Spread II
- 0933.Number of Recent Calls
- 0947.Most Stones Removed with Same Row or Column
- 0959.Regions Cut By Slashes
- 0990.Satisfiability of Equality Equations
- 0998.Maximum Binary Tree II
- 1000-1099
- 1020.Number of Enclaves
- 1039.Minimum Score Triangulation of Polygon
- 1048.Longest String Chain
- 1061.Lexicographically Smallest Equivalent String
- 1100-1199
- 1101.The Earliest Moment When Everyone Become Friends
- 1102.Path With Maximum Minimum Value
- 1114.Print in Order
- 1130.Minimum Cost Tree From Leaf Values
- 1147.Longest Chunked Palindrome Decomposition
- 1185.Day of the Week
- 1197.Minimum Knight Moves
- 1200-1299
- 1213.Intersection of Three Sorted Arrays
- 1230.Toss Strange Coins
- 1233.Remove Sub-Folders from the Filesystem
- 1235.Maximum Profit in Job Scheduling
- 1286.Iterator for Combination
- 1300-1399
- 1319.Number of Operations to Make Network Connected
- 1342.Number of Steps to Reduce a Number to Zero
- 1391.Check if There is a Valid Path in a Grid
- 1400-1499
- 1409.Queries on a Permutation With Key
- 1429.First Unique Number
- 1450.Number of Students Doing Homework at a Given Time
- 1500-1599
- 1514.Path with Maximum Probability
- 1522.Diameter of N-Ary Tree
- 1559.Detect Cycles in 2D Grid
- 1575.Count All Possible Routes
- 1600-1699
- 1617.Count Subtrees With Max Distance Between Cities
- 1631.Path With Minimum Effort
- 1639.Number of Ways to Form a Target String Given a Dictionary
- 1640.Check Array Formation Through Concatenation
- 1649.Create Sorted Array through Instructions
- 1700-1799
- 1704.Determine if String Halves Are Alike
- 1722.Minimize Hamming Distance After Swap Operations
- 1755.Closest Subsequence Sum
- 1756.Design Most Recently Used Queue
- 1763.Longest Nice Substring
- 1800-1899/1825.Finding MK Average
- 1900-1999
- 1970.Last Day Where You Can Still Cross
- 1971.Find if Path Exists in Graph
- 1998.GCD Sort of an Array
- 2100-2199/2179.Count Good Triplets in an Array
- 2200-2299/2259.Remove Digit From Number to Maximize Result
- 2300-2399
- 2301.Match Substring After Replacement
- 2336.Smallest Number in Infinite Set
- 2368.Reachable Nodes With Restrictions
- 2369.Check if There is a Valid Partition For The Array
- 2383.Minimum Hours of Training to Win a Competition
- 2400-2499/2429.Minimize XOR
- 2500-2599
- 2502.Design Memory Allocator
- 2559.Count Vowel Strings in Ranges
- 2590.Design a Todo List
- 2600-2699
- 2641.Cousins in Binary Tree II
- 2659.Make Array Empty
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
244 files changed
+17104
-16780
lines changed-12
This file was deleted.
-134
This file was deleted.
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
56 | 56 |
| |
57 | 57 |
| |
58 | 58 |
| |
| 59 | + | |
59 | 60 |
| |
60 | 61 |
| |
61 | 62 |
| |
62 | 63 |
| |
63 | 64 |
| |
64 | 65 |
| |
65 | 66 |
| |
| 67 | + | |
66 | 68 |
| |
67 | 69 |
| |
68 | 70 |
| |
| |||
76 | 78 |
| |
77 | 79 |
| |
78 | 80 |
| |
| 81 | + | |
79 | 82 |
| |
80 | 83 |
| |
81 | 84 |
| |
| |||
84 | 87 |
| |
85 | 88 |
| |
86 | 89 |
| |
| 90 | + | |
87 | 91 |
| |
88 | 92 |
| |
89 | 93 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
59 | 59 |
| |
60 | 60 |
| |
61 | 61 |
| |
| 62 | + | |
62 | 63 |
| |
63 | 64 |
| |
64 | 65 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
66 | 66 |
| |
67 | 67 |
| |
68 | 68 |
| |
| 69 | + | |
69 | 70 |
| |
70 | 71 |
| |
71 | 72 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
72 | 72 |
| |
73 | 73 |
| |
74 | 74 |
| |
| 75 | + | |
75 | 76 |
| |
76 | 77 |
| |
77 | 78 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
74 | 74 |
| |
75 | 75 |
| |
76 | 76 |
| |
| 77 | + | |
77 | 78 |
| |
78 | 79 |
| |
79 | 80 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
94 | 94 |
| |
95 | 95 |
| |
96 | 96 |
| |
| 97 | + | |
97 | 98 |
| |
98 | 99 |
| |
99 | 100 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
62 | 62 |
| |
63 | 63 |
| |
64 | 64 |
| |
| 65 | + | |
65 | 66 |
| |
66 | 67 |
| |
67 | 68 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
84 | 84 |
| |
85 | 85 |
| |
86 | 86 |
| |
| 87 | + | |
87 | 88 |
| |
88 |
| - | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
89 | 92 |
| |
90 | 93 |
| |
91 | 94 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
128 | 128 |
| |
129 | 129 |
| |
130 | 130 |
| |
131 |
| - | |
| 131 | + | |
132 | 132 |
| |
133 | 133 |
| |
134 | 134 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
82 | 82 |
| |
83 | 83 |
| |
84 | 84 |
| |
85 |
| - | |
86 | 85 |
| |
87 | 86 |
| |
88 | 87 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
132 | 132 |
| |
133 | 133 |
| |
134 | 134 |
| |
135 |
| - | |
136 | 135 |
| |
137 | 136 |
| |
138 | 137 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
132 | 132 |
| |
133 | 133 |
| |
134 | 134 |
| |
| 135 | + | |
135 | 136 |
| |
136 | 137 |
| |
137 | 138 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
78 | 78 |
| |
79 | 79 |
| |
80 | 80 |
| |
| 81 | + | |
81 | 82 |
| |
82 | 83 |
| |
83 | 84 |
| |
84 | 85 |
| |
85 | 86 |
| |
86 | 87 |
| |
87 | 88 |
| |
| 89 | + | |
88 | 90 |
| |
89 | 91 |
| |
90 | 92 |
| |
| |||
98 | 100 |
| |
99 | 101 |
| |
100 | 102 |
| |
| 103 | + | |
101 | 104 |
| |
102 | 105 |
| |
103 | 106 |
| |
| |||
106 | 109 |
| |
107 | 110 |
| |
108 | 111 |
| |
| 112 | + | |
109 | 113 |
| |
110 | 114 |
| |
111 | 115 |
| |
| |||
132 | 136 |
| |
133 | 137 |
| |
134 | 138 |
| |
135 |
| - | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
136 | 143 |
| |
137 | 144 |
| |
138 | 145 |
| |
| |||
153 | 160 |
| |
154 | 161 |
| |
155 | 162 |
| |
156 |
| - | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
157 | 169 |
| |
158 | 170 |
| |
159 |
| - | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
160 | 175 |
| |
161 | 176 |
| |
162 | 177 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
91 | 91 |
| |
92 | 92 |
| |
93 | 93 |
| |
| 94 | + | |
94 | 95 |
| |
95 | 96 |
| |
96 | 97 |
| |
97 | 98 |
| |
98 | 99 |
| |
99 | 100 |
| |
100 | 101 |
| |
| 102 | + | |
101 | 103 |
| |
102 | 104 |
| |
103 | 105 |
| |
| |||
111 | 113 |
| |
112 | 114 |
| |
113 | 115 |
| |
| 116 | + | |
114 | 117 |
| |
115 | 118 |
| |
116 | 119 |
| |
| |||
119 | 122 |
| |
120 | 123 |
| |
121 | 124 |
| |
| 125 | + | |
122 | 126 |
| |
123 | 127 |
| |
124 | 128 |
| |
|
0 commit comments