Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Leetcode solutions

Here ara some questions and my solutions mainly implemented by C/C++ from leetcode.

Almost all solutions can be found in discussion of each questions, and many valuable posts are really worth reading.

Reference

Some C++ knowledge websites: cppreference, cplusplus and GeeksforGeeks

Directory

id area title Difficulty Solution Lock Solved RawID
1 cn
us
Two Sum
Two Sum
easy
easy

1
2 cn
us
Add Two Numbers
Add Two Numbers
medium
medium

2
3 cn
us
Longest Substring Without Repeating Characters
Longest Substring Without Repeating Characters
medium
medium

3
4 cn
us
Median of Two Sorted Arrays
Median of Two Sorted Arrays
hard
hard

4
5 cn
us
Longest Palindromic Substring
Longest Palindromic Substring
medium
medium

5
6 cn
us
ZigZag Conversion
ZigZag Conversion
medium
medium

6
7 cn
us
Reverse Integer
Reverse Integer
easy
easy

7
8 cn
us
String to Integer (atoi)
String to Integer (atoi)
medium
medium

8
9 cn
us
Palindrome Number
Palindrome Number
easy
easy

9
10 cn
us
Regular Expression Matching
Regular Expression Matching
hard
hard

10
11 cn
us
Container With Most Water
Container With Most Water
medium
medium

11
12 cn
us
Integer to Roman
Integer to Roman
medium
medium

12
13 cn
us
Roman to Integer
Roman to Integer
easy
easy

13
14 cn
us
Longest Common Prefix
Longest Common Prefix
easy
easy

14
15 cn
us
3Sum
3Sum
medium
medium

15
16 cn
us
3Sum Closest
3Sum Closest
medium
medium

16
17 cn
us
Letter Combinations of a Phone Number
Letter Combinations of a Phone Number
medium
medium

17
18 cn
us
4Sum
4Sum
medium
medium

18
19 cn
us
Remove Nth Node From End of List
Remove Nth Node From End of List
medium
medium

19
20 cn
us
Valid Parentheses
Valid Parentheses
easy
easy

20
21 cn
us
Merge Two Sorted Lists
Merge Two Sorted Lists
easy
easy

21
22 cn
us
Generate Parentheses
Generate Parentheses
medium
medium

22
23 cn
us
Merge k Sorted Lists
Merge k Sorted Lists
hard
hard

23
24 cn
us
Swap Nodes in Pairs
Swap Nodes in Pairs
medium
medium

24
25 cn
us
Reverse Nodes in k-Group
Reverse Nodes in k-Group
hard
hard

25
26 cn
us
Remove Duplicates from Sorted Array
Remove Duplicates from Sorted Array
easy
easy

26
27 cn
us
Remove Element
Remove Element
easy
easy

27
28 cn
us
Implement strStr()
Implement strStr()
easy
easy

28
29 cn
us
Divide Two Integers
Divide Two Integers
medium
medium

29
30 cn
us
Substring with Concatenation of All Words
Substring with Concatenation of All Words
hard
hard

30
31 cn
us
Next Permutation
Next Permutation
medium
medium

31
32 cn
us
Longest Valid Parentheses
Longest Valid Parentheses
hard
hard

32
33 cn
us
Search in Rotated Sorted Array
Search in Rotated Sorted Array
medium
medium

33
34 cn
us
Find First and Last Position of Element in Sorted Array
Find First and Last Position of Element in Sorted Array
medium
medium

34
35 cn
us
Search Insert Position
Search Insert Position
easy
easy

35
36 cn
us
Valid Sudoku
Valid Sudoku
medium
medium

36
37 cn
us
Sudoku Solver
Sudoku Solver
hard
hard

37
38 cn
us
Count and Say
Count and Say
easy
easy

38
39 cn
us
Combination Sum
Combination Sum
medium
medium

39
40 cn
us
Combination Sum II
Combination Sum II
medium
medium

40
41 cn
us
First Missing Positive
First Missing Positive
hard
hard

41
42 cn
us
Trapping Rain Water
Trapping Rain Water
hard
hard

42
43 cn
us
Multiply Strings
Multiply Strings
medium
medium

43
44 cn
us
Wildcard Matching
Wildcard Matching
hard
hard

44
45 cn
us
Jump Game II
Jump Game II
hard
hard

45
46 cn
us
Permutations
Permutations
medium
medium

46
47 cn
us
Permutations II
Permutations II
medium
medium

47
48 cn
us
Rotate Image
Rotate Image
medium
medium

48
49 cn
us
Group Anagrams
Group Anagrams
medium
medium

49
50 cn
us
Pow(x, n)
Pow(x, n)
medium
medium

50
51 cn
us
N-Queens
N-Queens
hard
hard

51
52 cn
us
N-Queens II
N-Queens II
hard
hard

52
53 cn
us
Maximum Subarray
Maximum Subarray
easy
easy

53
54 cn
us
Spiral Matrix
Spiral Matrix
medium
medium

54
55 cn
us
Jump Game
Jump Game
medium
medium

55
56 cn
us
Merge Intervals
Merge Intervals
medium
medium

56
57 cn
us
Insert Interval
Insert Interval
hard
hard

57
58 cn
us
Length of Last Word
Length of Last Word
easy
easy

58
59 cn
us
Spiral Matrix II
Spiral Matrix II
medium
medium

59
60 cn
us
Permutation Sequence
Permutation Sequence
medium
medium

60
61 cn
us
Rotate List
Rotate List
medium
medium

61
62 cn
us
Unique Paths
Unique Paths
medium
medium

62
63 cn
us
Unique Paths II
Unique Paths II
medium
medium

63
64 cn
us
Minimum Path Sum
Minimum Path Sum
medium
medium

64
65 cn
us
Valid Number
Valid Number
hard
hard

65
66 cn
us
Plus One
Plus One
easy
easy

66
67 cn
us
Add Binary
Add Binary
easy
easy

67
68 cn
us
Text Justification
Text Justification
hard
hard

68
69 cn
us
Sqrt(x)
Sqrt(x)
easy
easy

69
70 cn
us
Climbing Stairs
Climbing Stairs
easy
easy

70
71 cn
us
Simplify Path
Simplify Path
medium
medium

71
72 cn
us
Edit Distance
Edit Distance
hard
hard

72
73 cn
us
Set Matrix Zeroes
Set Matrix Zeroes
medium
medium

73
74 cn
us
Search a 2D Matrix
Search a 2D Matrix
medium
medium

74
75 cn
us
Sort Colors
Sort Colors
medium
medium

75
76 cn
us
Minimum Window Substring
Minimum Window Substring
hard
hard

76
77 cn
us
Combinations
Combinations
medium
medium

77
78 cn
us
Subsets
Subsets
medium
medium

78
79 cn
us
Word Search
Word Search
medium
medium

79
80 cn
us
Remove Duplicates from Sorted Array II
Remove Duplicates from Sorted Array II
medium
medium

80
81 cn
us
Search in Rotated Sorted Array II
Search in Rotated Sorted Array II
medium
medium

81
82 cn
us
Remove Duplicates from Sorted List II
Remove Duplicates from Sorted List II
medium
medium

82
83 cn
us
Remove Duplicates from Sorted List
Remove Duplicates from Sorted List
easy
easy

83
84 cn
us
Largest Rectangle in Histogram
Largest Rectangle in Histogram
hard
hard

84
85 cn
us
Maximal Rectangle
Maximal Rectangle
hard
hard

85
86 cn
us
Partition List
Partition List
medium
medium

86
87 cn
us
Scramble String
Scramble String
hard
hard

87
88 cn
us
Merge Sorted Array
Merge Sorted Array
easy
easy

88
89 cn
us
Gray Code
Gray Code
medium
medium

89
90 cn
us
Subsets II
Subsets II
medium
medium

90
91 cn
us
Decode Ways
Decode Ways
medium
medium

91
92 cn
us
Reverse Linked List II
Reverse Linked List II
medium
medium

92
93 cn
us
Restore IP Addresses
Restore IP Addresses
medium
medium

93
94 cn
us
Binary Tree Inorder Traversal
Binary Tree Inorder Traversal
medium
medium

94
95 cn
us
Unique Binary Search Trees II
Unique Binary Search Trees II
medium
medium

95
96 cn
us
Unique Binary Search Trees
Unique Binary Search Trees
medium
medium

96
97 cn
us
Interleaving String
Interleaving String
hard
hard

97
98 cn
us
Validate Binary Search Tree
Validate Binary Search Tree
medium
medium

98
99 cn
us
Recover Binary Search Tree
Recover Binary Search Tree
hard
hard

99
100 cn
us
Same Tree
Same Tree
easy
easy

100
101 cn
us
Symmetric Tree
Symmetric Tree
easy
easy

101
102 cn
us
Binary Tree Level Order Traversal
Binary Tree Level Order Traversal
medium
medium

102
103 cn
us
Binary Tree Zigzag Level Order Traversal
Binary Tree Zigzag Level Order Traversal
medium
medium

103
104 cn
us
Maximum Depth of Binary Tree
Maximum Depth of Binary Tree
easy
easy

104
105 cn
us
Construct Binary Tree from Preorder and Inorder Traversal
Construct Binary Tree from Preorder and Inorder Traversal
medium
medium

105
106 cn
us
Construct Binary Tree from Inorder and Postorder Traversal
Construct Binary Tree from Inorder and Postorder Traversal
medium
medium

106
107 cn
us
Binary Tree Level Order Traversal II
Binary Tree Level Order Traversal II
easy
easy

107
108 cn
us
Convert Sorted Array to Binary Search Tree
Convert Sorted Array to Binary Search Tree
easy
easy

108
109 cn
us
Convert Sorted List to Binary Search Tree
Convert Sorted List to Binary Search Tree
medium
medium

109
110 cn
us
Balanced Binary Tree
Balanced Binary Tree
easy
easy

110
111 cn
us
Minimum Depth of Binary Tree
Minimum Depth of Binary Tree
easy
easy

111
112 cn
us
Path Sum
Path Sum
easy
easy

112
113 cn
us
Path Sum II
Path Sum II
medium
medium

113
114 cn
us
Flatten Binary Tree to Linked List
Flatten Binary Tree to Linked List
medium
medium

114
115 cn
us
Distinct Subsequences
Distinct Subsequences
hard
hard

115
116 cn
us
Populating Next Right Pointers in Each Node
Populating Next Right Pointers in Each Node
medium
medium

116
117 cn
us
Populating Next Right Pointers in Each Node II
Populating Next Right Pointers in Each Node II
medium
medium

117
118 cn
us
Pascal's Triangle
Pascal's Triangle
easy
easy

118
119 cn
us
Pascal's Triangle II
Pascal's Triangle II
easy
easy

119
120 cn
us
Triangle
Triangle
medium
medium

120
121 cn
us
Best Time to Buy and Sell Stock
Best Time to Buy and Sell Stock
easy
easy

121
122 cn
us
Best Time to Buy and Sell Stock II
Best Time to Buy and Sell Stock II
easy
easy

122
123 cn
us
Best Time to Buy and Sell Stock III
Best Time to Buy and Sell Stock III
hard
hard

123
124 cn
us
Binary Tree Maximum Path Sum
Binary Tree Maximum Path Sum
hard
hard

124
125 cn
us
Valid Palindrome
Valid Palindrome
easy
easy

125
126 cn
us
Word Ladder II
Word Ladder II
hard
hard

126
127 cn
us
Word Ladder
Word Ladder
medium
medium

127
128 cn
us
Longest Consecutive Sequence
Longest Consecutive Sequence
hard
hard

128
129 cn
us
Sum Root to Leaf Numbers
Sum Root to Leaf Numbers
medium
medium

129
130 cn
us
Surrounded Regions
Surrounded Regions
medium
medium

130
131 cn
us
Palindrome Partitioning
Palindrome Partitioning
medium
medium

131
132 cn
us
Palindrome Partitioning II
Palindrome Partitioning II
hard
hard

132
133 cn
us
Clone Graph
Clone Graph
medium
medium

133
134 cn
us
Gas Station
Gas Station
medium
medium

134
135 cn
us
Candy
Candy
hard
hard

135
136 cn
us
Single Number
Single Number
easy
easy

136
137 cn
us
Single Number II
Single Number II
medium
medium

137
138 cn
us
Copy List with Random Pointer
Copy List with Random Pointer
medium
medium

138
139 cn
us
Word Break
Word Break
medium
medium

139
140 cn
us
Word Break II
Word Break II
hard
hard

140
141 cn
us
Linked List Cycle
Linked List Cycle
easy
easy

141
142 cn
us
Linked List Cycle II
Linked List Cycle II
medium
medium

142
143 cn
us
Reorder List
Reorder List
medium
medium

143
144 cn
us
Binary Tree Preorder Traversal
Binary Tree Preorder Traversal
medium
medium

144
145 cn
us
Binary Tree Postorder Traversal
Binary Tree Postorder Traversal
hard
hard

145
146 cn
us
LRU Cache
LRU Cache
medium
medium

146
147 cn
us
Insertion Sort List
Insertion Sort List
medium
medium

147
148 cn
us
Sort List
Sort List
medium
medium

148
149 cn
us
Max Points on a Line
Max Points on a Line
hard
hard

149
150 cn
us
Evaluate Reverse Polish Notation
Evaluate Reverse Polish Notation
medium
medium

150
151 cn
us
Reverse Words in a String
Reverse Words in a String
medium
medium

151
152 cn
us
Maximum Product Subarray
Maximum Product Subarray
medium
medium

152
153 cn
us
Find Minimum in Rotated Sorted Array
Find Minimum in Rotated Sorted Array
medium
medium

153
154 cn
us
Find Minimum in Rotated Sorted Array II
Find Minimum in Rotated Sorted Array II
hard
hard

154
155 cn
us
Min Stack
Min Stack
easy
easy

155
156 cn
us
Binary Tree Upside Down
Binary Tree Upside Down
medium
medium
🔒
🔒
156
157 cn
us
Read N Characters Given Read4
Read N Characters Given Read4
easy
easy
🔒
🔒
157
158 cn
us
Read N Characters Given Read4 II - Call multiple times
Read N Characters Given Read4 II - Call multiple times
hard
hard
🔒
🔒
158
159 cn
us
Longest Substring with At Most Two Distinct Characters
Longest Substring with At Most Two Distinct Characters
medium
medium
🔒
🔒
159
160 cn
us
Intersection of Two Linked Lists
Intersection of Two Linked Lists
easy
easy

160
161 cn
us
One Edit Distance
One Edit Distance
medium
medium
🔒
🔒
161
162 cn
us
Find Peak Element
Find Peak Element
medium
medium

162
163 cn
us
Missing Ranges
Missing Ranges
medium
medium
🔒
🔒
163
164 cn
us
Maximum Gap
Maximum Gap
hard
hard

164
165 cn
us
Compare Version Numbers
Compare Version Numbers
medium
medium

165
166 cn
us
Fraction to Recurring Decimal
Fraction to Recurring Decimal
medium
medium

166
167 cn
us
Two Sum II - Input array is sorted
Two Sum II - Input array is sorted
easy
easy

167
168 cn
us
Excel Sheet Column Title
Excel Sheet Column Title
easy
easy

168
169 cn
us
Majority Element
Majority Element
easy
easy

169
170 cn
us
Two Sum III - Data structure design
Two Sum III - Data structure design
easy
easy
🔒
🔒
170
171 cn
us
Excel Sheet Column Number
Excel Sheet Column Number
easy
easy

171
172 cn
us
Factorial Trailing Zeroes
Factorial Trailing Zeroes
easy
easy

172
173 cn
us
Binary Search Tree Iterator
Binary Search Tree Iterator
medium
medium

173
174 cn
us
Dungeon Game
Dungeon Game
hard
hard

174
175 cn
us
Combine Two Tables
Combine Two Tables
easy
easy

175
176 cn
us
Second Highest Salary
Second Highest Salary
easy
easy

176
177 cn
us
Nth Highest Salary
Nth Highest Salary
medium
medium

177
178 cn
us
Rank Scores
Rank Scores
medium
medium

178
179 cn
us
Largest Number
Largest Number
medium
medium

179
180 cn
us
Consecutive Numbers
Consecutive Numbers
medium
medium

180
181 cn
us
Employees Earning More Than Their Managers
Employees Earning More Than Their Managers
easy
easy

181
182 cn
us
Duplicate Emails
Duplicate Emails
easy
easy

182
183 cn
us
Customers Who Never Order
Customers Who Never Order
easy
easy

183
184 cn
us
Department Highest Salary
Department Highest Salary
medium
medium

184
185 cn
us
Department Top Three Salaries
Department Top Three Salaries
hard
hard

185
186 cn
us
Reverse Words in a String II
Reverse Words in a String II
medium
medium
🔒
🔒
186
187 cn
us
Repeated DNA Sequences
Repeated DNA Sequences
medium
medium

187
188 cn
us
Best Time to Buy and Sell Stock IV
Best Time to Buy and Sell Stock IV
hard
hard

188
189 cn
us
Rotate Array
Rotate Array
easy
easy

189
190 cn
us
Reverse Bits
Reverse Bits
easy
easy

190
191 cn
us
Number of 1 Bits
Number of 1 Bits
easy
easy

191
192 cn
us
Word Frequency
Word Frequency
medium
medium

192
193 cn
us
Valid Phone Numbers
Valid Phone Numbers
easy
easy

193
194 cn
us
Transpose File
Transpose File
medium
medium

194
195 cn
us
Tenth Line
Tenth Line
easy
easy

195
196 cn
us
Delete Duplicate Emails
Delete Duplicate Emails
easy
easy

196
197 cn
us
Rising Temperature
Rising Temperature
easy
easy

197
198 cn
us
House Robber
House Robber
easy
easy

198
199 cn
us
Binary Tree Right Side View
Binary Tree Right Side View
medium
medium

199
200 cn
us
Number of Islands
Number of Islands
medium
medium

200
201 cn
us
Bitwise AND of Numbers Range
Bitwise AND of Numbers Range
medium
medium

201
202 cn
us
Happy Number
Happy Number
easy
easy

202
203 cn
us
Remove Linked List Elements
Remove Linked List Elements
easy
easy

203
204 cn
us
Count Primes
Count Primes
easy
easy

204
205 cn
us
Isomorphic Strings
Isomorphic Strings
easy
easy

205
206 cn
us
Reverse Linked List
Reverse Linked List
easy
easy

206
207 cn
us
Course Schedule
Course Schedule
medium
medium

207
208 cn
us
Implement Trie (Prefix Tree)
Implement Trie (Prefix Tree)
medium
medium

208
209 cn
us
Minimum Size Subarray Sum
Minimum Size Subarray Sum
medium
medium

209
210 cn
us
Course Schedule II
Course Schedule II
medium
medium

210
211 cn
us
Add and Search Word - Data structure design
Add and Search Word - Data structure design
medium
medium

211
212 cn
us
Word Search II
Word Search II
hard
hard

212
213 cn
us
House Robber II
House Robber II
medium
medium

213
214 cn
us
Shortest Palindrome
Shortest Palindrome
hard
hard

214
215 cn
us
Kth Largest Element in an Array
Kth Largest Element in an Array
medium
medium

215
216 cn
us
Combination Sum III
Combination Sum III
medium
medium

216
217 cn
us
Contains Duplicate
Contains Duplicate
easy
easy

217
218 cn
us
The Skyline Problem
The Skyline Problem
hard
hard

218
219 cn
us
Contains Duplicate II
Contains Duplicate II
easy
easy

219
220 cn
us
Contains Duplicate III
Contains Duplicate III
medium
medium

220
221 cn
us
Maximal Square
Maximal Square
medium
medium

221
222 cn
us
Count Complete Tree Nodes
Count Complete Tree Nodes
medium
medium

222
223 cn
us
Rectangle Area
Rectangle Area
medium
medium

223
224 cn
us
Basic Calculator
Basic Calculator
hard
hard

224
225 cn
us
Implement Stack using Queues
Implement Stack using Queues
easy
easy

225
226 cn
us
Invert Binary Tree
Invert Binary Tree
easy
easy

226
227 cn
us
Basic Calculator II
Basic Calculator II
medium
medium

227
228 cn
us
Summary Ranges
Summary Ranges
medium
medium

228
229 cn
us
Majority Element II
Majority Element II
medium
medium

229
230 cn
us
Kth Smallest Element in a BST
Kth Smallest Element in a BST
medium
medium

230
231 cn
us
Power of Two
Power of Two
easy
easy

231
232 cn
us
Implement Queue using Stacks
Implement Queue using Stacks
easy
easy

232
233 cn
us
Number of Digit One
Number of Digit One
hard
hard

233
234 cn
us
Palindrome Linked List
Palindrome Linked List
easy
easy

234
235 cn
us
Lowest Common Ancestor of a Binary Search Tree
Lowest Common Ancestor of a Binary Search Tree
easy
easy

235
236 cn
us
Lowest Common Ancestor of a Binary Tree
Lowest Common Ancestor of a Binary Tree
medium
medium

236
237 cn
us
Delete Node in a Linked List
Delete Node in a Linked List
easy
easy

237
238 cn
us
Product of Array Except Self
Product of Array Except Self
medium
medium

238
239 cn
us
Sliding Window Maximum
Sliding Window Maximum
hard
hard

239
240 cn
us
Search a 2D Matrix II
Search a 2D Matrix II
medium
medium

240
241 cn
us
Different Ways to Add Parentheses
Different Ways to Add Parentheses
medium
medium

241
242 cn
us
Valid Anagram
Valid Anagram
easy
easy

242
243 cn
us
Shortest Word Distance
Shortest Word Distance
easy
easy
🔒
🔒
243
244 cn
us
Shortest Word Distance II
Shortest Word Distance II
medium
medium
🔒
🔒
244
245 cn
us
Shortest Word Distance III
Shortest Word Distance III
medium
medium
🔒
🔒
245
246 cn
us
Strobogrammatic Number
Strobogrammatic Number
easy
easy
🔒
🔒
246
247 cn
us
Strobogrammatic Number II
Strobogrammatic Number II
medium
medium
🔒
🔒
247
248 cn
us
Strobogrammatic Number III
Strobogrammatic Number III
hard
hard
🔒
🔒
248
249 cn
us
Group Shifted Strings
Group Shifted Strings
medium
medium
🔒
🔒
249
250 cn
us
Count Univalue Subtrees
Count Univalue Subtrees
medium
medium
🔒
🔒
250
251 cn
us
Flatten 2D Vector
Flatten 2D Vector
medium
medium
🔒
🔒
251
252 cn
us
Meeting Rooms
Meeting Rooms
easy
easy
🔒
🔒
252
253 cn
us
Meeting Rooms II
Meeting Rooms II
medium
medium
🔒
🔒
253
254 cn
us
Factor Combinations
Factor Combinations
medium
medium
🔒
🔒
254
255 cn
us
Verify Preorder Sequence in Binary Search Tree
Verify Preorder Sequence in Binary Search Tree
medium
medium
🔒
🔒
255
256 cn
us
Paint House
Paint House
easy
easy
🔒
🔒
256
257 cn
us
Binary Tree Paths
Binary Tree Paths
easy
easy

257
258 cn
us
Add Digits
Add Digits
easy
easy

258
259 cn
us
3Sum Smaller
3Sum Smaller
medium
medium
🔒
🔒
259
260 cn
us
Single Number III
Single Number III
medium
medium

260
261 cn
us
Graph Valid Tree
Graph Valid Tree
medium
medium
🔒
🔒
261
262 cn
us
Trips and Users
Trips and Users
hard
hard

262
263 cn
us
Ugly Number
Ugly Number
easy
easy

263
264 cn
us
Ugly Number II
Ugly Number II
medium
medium

264
265 cn
us
Paint House II
Paint House II
hard
hard
🔒
🔒
265
266 cn
us
Palindrome Permutation
Palindrome Permutation
easy
easy
🔒
🔒
266
267 cn
us
Palindrome Permutation II
Palindrome Permutation II
medium
medium
🔒
🔒
267
268 cn
us
Missing Number
Missing Number
easy
easy

268
269 cn
us
Alien Dictionary
Alien Dictionary
hard
hard
🔒
🔒
269
270 cn
us
Closest Binary Search Tree Value
Closest Binary Search Tree Value
easy
easy
🔒
🔒
270
271 cn
us
Encode and Decode Strings
Encode and Decode Strings
medium
medium
🔒
🔒
271
272 cn
us
Closest Binary Search Tree Value II
Closest Binary Search Tree Value II
hard
hard
🔒
🔒
272
273 cn
us
Integer to English Words
Integer to English Words
hard
hard

273
274 cn
us
H-Index
H-Index
medium
medium

274
275 cn
us
H-Index II
H-Index II
medium
medium

275
276 cn
us
Paint Fence
Paint Fence
easy
easy
🔒
🔒
276
277 cn
us
Find the Celebrity
Find the Celebrity
medium
medium
🔒
🔒
277
278 cn
us
First Bad Version
First Bad Version
easy
easy

278
279 cn
us
Perfect Squares
Perfect Squares
medium
medium

279
280 cn
us
Wiggle Sort
Wiggle Sort
medium
medium
🔒
🔒
280
281 cn
us
Zigzag Iterator
Zigzag Iterator
medium
medium
🔒
🔒
281
282 cn
us
Expression Add Operators
Expression Add Operators
hard
hard

282
283 cn
us
Move Zeroes
Move Zeroes
easy
easy

283
284 cn
us
Peeking Iterator
Peeking Iterator
medium
medium

284
285 cn
us
Inorder Successor in BST
Inorder Successor in BST
medium
medium
🔒
🔒
285
286 cn
us
Walls and Gates
Walls and Gates
medium
medium
🔒
🔒
286
287 cn
us
Find the Duplicate Number
Find the Duplicate Number
medium
medium

287
288 cn
us
Unique Word Abbreviation
Unique Word Abbreviation
medium
medium
🔒
🔒
288
289 cn
us
Game of Life
Game of Life
medium
medium

289
290 cn
us
Word Pattern
Word Pattern
easy
easy

290
291 cn
us
Word Pattern II
Word Pattern II
hard
hard
🔒
🔒
291
292 cn
us
Nim Game
Nim Game
easy
easy

292
293 cn
us
Flip Game
Flip Game
easy
easy
🔒
🔒
293
294 cn
us
Flip Game II
Flip Game II
medium
medium
🔒
🔒
294
295 cn
us
Find Median from Data Stream
Find Median from Data Stream
hard
hard

295
296 cn
us
Best Meeting Point
Best Meeting Point
hard
hard
🔒
🔒
296
297 cn
us
Serialize and Deserialize Binary Tree
Serialize and Deserialize Binary Tree
hard
hard

297
298 cn
us
Binary Tree Longest Consecutive Sequence
Binary Tree Longest Consecutive Sequence
medium
medium
🔒
🔒
298
299 cn
us
Bulls and Cows
Bulls and Cows
easy
easy

299
300 cn
us
Longest Increasing Subsequence
Longest Increasing Subsequence
medium
medium

300
301 cn
us
Remove Invalid Parentheses
Remove Invalid Parentheses
hard
hard

301
302 cn
us
Smallest Rectangle Enclosing Black Pixels
Smallest Rectangle Enclosing Black Pixels
hard
hard
🔒
🔒
302
303 cn
us
Range Sum Query - Immutable
Range Sum Query - Immutable
easy
easy

303
304 cn
us
Range Sum Query 2D - Immutable
Range Sum Query 2D - Immutable
medium
medium

304
305 cn
us
Number of Islands II
Number of Islands II
hard
hard
🔒
🔒
305
306 cn
us
Additive Number
Additive Number
medium
medium

306
307 cn
us
Range Sum Query - Mutable
Range Sum Query - Mutable
medium
medium

307
308 cn
us
Range Sum Query 2D - Mutable
Range Sum Query 2D - Mutable
hard
hard
🔒
🔒
308
309 cn
us
Best Time to Buy and Sell Stock with Cooldown
Best Time to Buy and Sell Stock with Cooldown
medium
medium

309
310 cn
us
Minimum Height Trees
Minimum Height Trees
medium
medium

310
311 cn
us
Sparse Matrix Multiplication
Sparse Matrix Multiplication
medium
medium
🔒
🔒
311
312 cn
us
Burst Balloons
Burst Balloons
hard
hard

312
313 cn
us
Super Ugly Number
Super Ugly Number
medium
medium

313
314 cn
us
Binary Tree Vertical Order Traversal
Binary Tree Vertical Order Traversal
medium
medium
🔒
🔒
314
315 cn
us
Count of Smaller Numbers After Self
Count of Smaller Numbers After Self
hard
hard

315
316 cn
us
Remove Duplicate Letters
Remove Duplicate Letters
hard
hard

316
317 cn
us
Shortest Distance from All Buildings
Shortest Distance from All Buildings
hard
hard
🔒
🔒
317
318 cn
us
Maximum Product of Word Lengths
Maximum Product of Word Lengths
medium
medium

318
319 cn
us
Bulb Switcher
Bulb Switcher
medium
medium

319
320 cn
us
Generalized Abbreviation
Generalized Abbreviation
medium
medium
🔒
🔒
320
321 cn
us
Create Maximum Number
Create Maximum Number
hard
hard

321
322 cn
us
Coin Change
Coin Change
medium
medium

322
323 cn
us
Number of Connected Components in an Undirected Graph
Number of Connected Components in an Undirected Graph
medium
medium
🔒
🔒
323
324 cn
us
Wiggle Sort II
Wiggle Sort II
medium
medium

324
325 cn
us
Maximum Size Subarray Sum Equals k
Maximum Size Subarray Sum Equals k
medium
medium
🔒
🔒
325
326 cn
us
Power of Three
Power of Three
easy
easy

326
327 cn
us
Count of Range Sum
Count of Range Sum
hard
hard

327
328 cn
us
Odd Even Linked List
Odd Even Linked List
medium
medium

328
329 cn
us
Longest Increasing Path in a Matrix
Longest Increasing Path in a Matrix
hard
hard

329
330 cn
us
Patching Array
Patching Array
hard
hard

330
331 cn
us
Verify Preorder Serialization of a Binary Tree
Verify Preorder Serialization of a Binary Tree
medium
medium

331
332 cn
us
Reconstruct Itinerary
Reconstruct Itinerary
medium
medium

332
333 cn
us
Largest BST Subtree
Largest BST Subtree
medium
medium
🔒
🔒
333
334 cn
us
Increasing Triplet Subsequence
Increasing Triplet Subsequence
medium
medium

334
335 cn
us
Self Crossing
Self Crossing
hard
hard

335
336 cn
us
Palindrome Pairs
Palindrome Pairs
hard
hard

336
337 cn
us
House Robber III
House Robber III
medium
medium

337
338 cn
us
Counting Bits
Counting Bits
medium
medium

338
339 cn
us
Nested List Weight Sum
Nested List Weight Sum
easy
easy
🔒
🔒
339
340 cn
us
Longest Substring with At Most K Distinct Characters
Longest Substring with At Most K Distinct Characters
hard
hard
🔒
🔒
340
341 cn
us
Flatten Nested List Iterator
Flatten Nested List Iterator
medium
medium

341
342 cn
us
Power of Four
Power of Four
easy
easy

342
343 cn
us
Integer Break
Integer Break
medium
medium

343
344 cn
us
Reverse String
Reverse String
easy
easy

344
345 cn
us
Reverse Vowels of a String
Reverse Vowels of a String
easy
easy

345
346 cn
us
Moving Average from Data Stream
Moving Average from Data Stream
easy
easy
🔒
🔒
346
347 cn
us
Top K Frequent Elements
Top K Frequent Elements
medium
medium

347
348 cn
us
Design Tic-Tac-Toe
Design Tic-Tac-Toe
medium
medium
🔒
🔒
348
349 cn
us
Intersection of Two Arrays
Intersection of Two Arrays
easy
easy

349
350 cn
us
Intersection of Two Arrays II
Intersection of Two Arrays II
easy
easy

350
351 cn
us
Android Unlock Patterns
Android Unlock Patterns
medium
medium
🔒
🔒
351
352 cn
us
Data Stream as Disjoint Intervals
Data Stream as Disjoint Intervals
hard
hard

352
353 cn
us
Design Snake Game
Design Snake Game
medium
medium
🔒
🔒
353
354 cn
us
Russian Doll Envelopes
Russian Doll Envelopes
hard
hard

354
355 cn
us
Design Twitter
Design Twitter
medium
medium

355
356 cn
us
Line Reflection
Line Reflection
medium
medium
🔒
🔒
356
357 cn
us
Count Numbers with Unique Digits
Count Numbers with Unique Digits
medium
medium

357
358 cn
us
Rearrange String k Distance Apart
Rearrange String k Distance Apart
hard
hard
🔒
🔒
358
359 cn
us
Logger Rate Limiter
Logger Rate Limiter
easy
easy
🔒
🔒
359
360 cn
us
Sort Transformed Array
Sort Transformed Array
medium
medium
🔒
🔒
360
361 cn
us
Bomb Enemy
Bomb Enemy
medium
medium
🔒
🔒
361
362 cn
us
Design Hit Counter
Design Hit Counter
medium
medium
🔒
🔒
362
363 cn
us
Max Sum of Rectangle No Larger Than K
Max Sum of Rectangle No Larger Than K
hard
hard

363
364 cn
us
Nested List Weight Sum II
Nested List Weight Sum II
medium
medium
🔒
🔒
364
365 cn
us
Water and Jug Problem
Water and Jug Problem
medium
medium

365
366 cn
us
Find Leaves of Binary Tree
Find Leaves of Binary Tree
medium
medium
🔒
🔒
366
367 cn
us
Valid Perfect Square
Valid Perfect Square
easy
easy

367
368 cn
us
Largest Divisible Subset
Largest Divisible Subset
medium
medium

368
369 cn
us
Plus One Linked List
Plus One Linked List
medium
medium
🔒
🔒
369
370 cn
us
Range Addition
Range Addition
medium
medium
🔒
🔒
370
371 cn
us
Sum of Two Integers
Sum of Two Integers
easy
easy

371
372 cn
us
Super Pow
Super Pow
medium
medium

372
373 cn
us
Find K Pairs with Smallest Sums
Find K Pairs with Smallest Sums
medium
medium

373
374 cn
us
Guess Number Higher or Lower
Guess Number Higher or Lower
easy
easy

374
375 cn
us
Guess Number Higher or Lower II
Guess Number Higher or Lower II
medium
medium

375
376 cn
us
Wiggle Subsequence
Wiggle Subsequence
medium
medium

376
377 cn
us
Combination Sum IV
Combination Sum IV
medium
medium

377
378 cn
us
Kth Smallest Element in a Sorted Matrix
Kth Smallest Element in a Sorted Matrix
medium
medium

378
379 cn
us
Design Phone Directory
Design Phone Directory
medium
medium
🔒
🔒
379
380 cn
us
Insert Delete GetRandom O(1)
Insert Delete GetRandom O(1)
medium
medium

380
381 cn
us
Insert Delete GetRandom O(1) - Duplicates allowed
Insert Delete GetRandom O(1) - Duplicates allowed
hard
hard

381
382 cn
us
Linked List Random Node
Linked List Random Node
medium
medium

382
383 cn
us
Ransom Note
Ransom Note
easy
easy

383
384 cn
us
Shuffle an Array
Shuffle an Array
medium
medium

384
385 cn
us
Mini Parser
Mini Parser
medium
medium

385
386 cn
us
Lexicographical Numbers
Lexicographical Numbers
medium
medium

386
387 cn
us
First Unique Character in a String
First Unique Character in a String
easy
easy

387
388 cn
us
Longest Absolute File Path
Longest Absolute File Path
medium
medium

388
389 cn
us
Find the Difference
Find the Difference
easy
easy

389
390 cn
us
Elimination Game
Elimination Game
medium
medium

390
391 cn
us
Perfect Rectangle
Perfect Rectangle
hard
hard

391
392 cn
us
Is Subsequence
Is Subsequence
easy
easy

392
393 cn
us
UTF-8 Validation
UTF-8 Validation
medium
medium

393
394 cn
us
Decode String
Decode String
medium
medium

394
395 cn
us
Longest Substring with At Least K Repeating Characters
Longest Substring with At Least K Repeating Characters
medium
medium

395
396 cn
us
Rotate Function
Rotate Function
medium
medium

396
397 cn
us
Integer Replacement
Integer Replacement
medium
medium

397
398 cn
us
Random Pick Index
Random Pick Index
medium
medium

398
399 cn
us
Evaluate Division
Evaluate Division
medium
medium

399
400 cn
us
Nth Digit
Nth Digit
medium
medium

400
401 cn
us
Binary Watch
Binary Watch
easy
easy

401
402 cn
us
Remove K Digits
Remove K Digits
medium
medium

402
403 cn
us
Frog Jump
Frog Jump
hard
hard

403
404 cn
us
Sum of Left Leaves
Sum of Left Leaves
easy
easy

404
405 cn
us
Convert a Number to Hexadecimal
Convert a Number to Hexadecimal
easy
easy

405
406 cn
us
Queue Reconstruction by Height
Queue Reconstruction by Height
medium
medium

406
407 cn
us
Trapping Rain Water II
Trapping Rain Water II
hard
hard

407
408 cn
us
Valid Word Abbreviation
Valid Word Abbreviation
easy
easy
🔒
🔒
408
409 cn
us
Longest Palindrome
Longest Palindrome
easy
easy

409
410 cn
us
Split Array Largest Sum
Split Array Largest Sum
hard
hard

410
411 cn
us
Minimum Unique Word Abbreviation
Minimum Unique Word Abbreviation
hard
hard
🔒
🔒
411
412 cn
us
Fizz Buzz
Fizz Buzz
easy
easy

412
413 cn
us
Arithmetic Slices
Arithmetic Slices
medium
medium

413
414 cn
us
Third Maximum Number
Third Maximum Number
easy
easy

414
415 cn
us
Add Strings
Add Strings
easy
easy

415
416 cn
us
Partition Equal Subset Sum
Partition Equal Subset Sum
medium
medium

416
417 cn
us
Pacific Atlantic Water Flow
Pacific Atlantic Water Flow
medium
medium

417
418 cn
us
Sentence Screen Fitting
Sentence Screen Fitting
medium
medium
🔒
🔒
418
419 cn
us
Battleships in a Board
Battleships in a Board
medium
medium

419
420 cn
us
Strong Password Checker
Strong Password Checker
hard
hard

420
421 cn
us
Maximum XOR of Two Numbers in an Array
Maximum XOR of Two Numbers in an Array
medium
medium

421
422 cn
us
Valid Word Square
Valid Word Square
easy
easy
🔒
🔒
422
423 cn
us
Reconstruct Original Digits from English
Reconstruct Original Digits from English
medium
medium

423
424 cn
us
Longest Repeating Character Replacement
Longest Repeating Character Replacement
medium
medium

424
425 cn
us
Word Squares
Word Squares
hard
hard
🔒
🔒
425
432 cn
us
All Oone Data Structure](https://leetcode-cn.com/problems/all-oone-data-structure/description/)<br>[All Oone Data Structure hard
hard

432
433 cn
us
Minimum Genetic Mutation
Minimum Genetic Mutation
medium
medium

433
434 cn
us
Number of Segments in a String
Number of Segments in a String
easy
easy

434
435 cn
us
Non-overlapping Intervals
Non-overlapping Intervals
medium
medium

435
436 cn
us
Find Right Interval
Find Right Interval
medium
medium

436
437 cn
us
Path Sum III
Path Sum III
easy
easy

437
438 cn
us
Find All Anagrams in a String
Find All Anagrams in a String
medium
medium

438
439 cn
us
Ternary Expression Parser
Ternary Expression Parser
medium
medium
🔒
🔒
439
440 cn
us
K-th Smallest in Lexicographical Order
K-th Smallest in Lexicographical Order
hard
hard

440
441 cn
us
Arranging Coins
Arranging Coins
easy
easy

441
442 cn
us
Find All Duplicates in an Array
Find All Duplicates in an Array
medium
medium

442
443 cn
us
String Compression
String Compression
easy
easy

443
444 cn
us
Sequence Reconstruction
Sequence Reconstruction
medium
medium
🔒
🔒
444
445 cn
us
Add Two Numbers II
Add Two Numbers II
medium
medium

445
446 cn
us
Arithmetic Slices II - Subsequence
Arithmetic Slices II - Subsequence
hard
hard

446
447 cn
us
Number of Boomerangs
Number of Boomerangs
easy
easy

447
448 cn
us
Find All Numbers Disappeared in an Array
Find All Numbers Disappeared in an Array
easy
easy

448
449 cn
us
Serialize and Deserialize BST
Serialize and Deserialize BST
medium
medium

449
450 cn
us
Delete Node in a BST
Delete Node in a BST
medium
medium

450
451 cn
us
Sort Characters By Frequency
Sort Characters By Frequency
medium
medium

451
452 cn
us
Minimum Number of Arrows to Burst Balloons
Minimum Number of Arrows to Burst Balloons
medium
medium

452
453 cn
us
Minimum Moves to Equal Array Elements
Minimum Moves to Equal Array Elements
easy
easy

453
454 cn
us
4Sum II
4Sum II
medium
medium

454
455 cn
us
Assign Cookies
Assign Cookies
easy
easy

455
456 cn
us
132 Pattern
132 Pattern
medium
medium

456
457 cn
us
Circular Array Loop
Circular Array Loop
medium
medium

457
458 cn
us
Poor Pigs
Poor Pigs
hard
hard

458
459 cn
us
Repeated Substring Pattern
Repeated Substring Pattern
easy
easy

459
460 cn
us
LFU Cache
LFU Cache
hard
hard

460
461 cn
us
Hamming Distance
Hamming Distance
easy
easy

461
462 cn
us
Minimum Moves to Equal Array Elements II
Minimum Moves to Equal Array Elements II
medium
medium

462
463 cn
us
Island Perimeter
Island Perimeter
easy
easy

463
464 cn
us
Can I Win
Can I Win
medium
medium

464
465 cn
us
Optimal Account Balancing
Optimal Account Balancing
hard
hard
🔒
🔒
465
466 cn
us
Count The Repetitions
Count The Repetitions
hard
hard

466
467 cn
us
Unique Substrings in Wraparound String
Unique Substrings in Wraparound String
medium
medium

467
468 cn
us
Validate IP Address
Validate IP Address
medium
medium

468
469 cn
us
Convex Polygon
Convex Polygon
medium
medium
🔒
🔒
469
471 cn
us
Encode String with Shortest Length
Encode String with Shortest Length
hard
hard
🔒
🔒
471
472 cn
us
Concatenated Words
Concatenated Words
hard
hard

472
473 cn
us
Matchsticks to Square
Matchsticks to Square
medium
medium

473
474 cn
us
Ones and Zeroes
Ones and Zeroes
medium
medium

474
475 cn
us
Heaters
Heaters
easy
easy

475
476 cn
us
Number Complement
Number Complement
easy
easy

476
477 cn
us
Total Hamming Distance
Total Hamming Distance
medium
medium

477
479 cn
us
Largest Palindrome Product
Largest Palindrome Product
hard
hard

479
480 cn
us
Sliding Window Median
Sliding Window Median
hard
hard

480
481 cn
us
Magical String
Magical String
medium
medium

481
482 cn
us
License Key Formatting
License Key Formatting
easy
easy

482
483 cn
us
Smallest Good Base
Smallest Good Base
hard
hard

483
484 cn
us
Find Permutation
Find Permutation
medium
medium
🔒
🔒
484
485 cn
us
Max Consecutive Ones
Max Consecutive Ones
easy
easy

485
486 cn
us
Predict the Winner
Predict the Winner
medium
medium

486
487 cn
us
Max Consecutive Ones II
Max Consecutive Ones II
medium
medium
🔒
🔒
487
488 cn
us
Zuma Game
Zuma Game
hard
hard

488
490 cn
us
The Maze
The Maze
medium
medium
🔒
🔒
490
491 cn
us
Increasing Subsequences
Increasing Subsequences
medium
medium

491
492 cn
us
Construct the Rectangle
Construct the Rectangle
easy
easy

492
493 cn
us
Reverse Pairs
Reverse Pairs
hard
hard

493
494 cn
us
Target Sum
Target Sum
medium
medium

494
495 cn
us
Teemo Attacking
Teemo Attacking
medium
medium

495
496 cn
us
Next Greater Element I
Next Greater Element I
easy
easy

496
498 cn
us
Diagonal Traverse
Diagonal Traverse
medium
medium

498
499 cn
us
The Maze III
The Maze III
hard
hard
🔒
🔒
499
500 cn
us
Keyboard Row
Keyboard Row
easy
easy

500
501 cn
us
Find Mode in Binary Search Tree
Find Mode in Binary Search Tree
easy
easy

501
502 cn
us
IPO
IPO
hard
hard

502
503 cn
us
Next Greater Element II
Next Greater Element II
medium
medium

503
504 cn
us
Base 7
Base 7
easy
easy

504
505 cn
us
The Maze II
The Maze II
medium
medium
🔒
🔒
505
506 cn
us
Relative Ranks
Relative Ranks
easy
easy

506
507 cn
us
Perfect Number
Perfect Number
easy
easy

507
508 cn
us
Most Frequent Subtree Sum
Most Frequent Subtree Sum
medium
medium

508
510 cn
us
Inorder Successor in BST II
Inorder Successor in BST II
medium
medium
🔒
🔒
509
1059 cn
us
All Paths from Source Lead to Destination
All Paths from Source Lead to Destination
medium
medium
🔒
🔒
511
513 cn
us
Find Bottom Left Tree Value
Find Bottom Left Tree Value
medium
medium

513
514 cn
us
Freedom Trail
Freedom Trail
hard
hard

514
515 cn
us
Find Largest Value in Each Tree Row
Find Largest Value in Each Tree Row
medium
medium

515
516 cn
us
Longest Palindromic Subsequence
Longest Palindromic Subsequence
medium
medium

516
517 cn
us
Super Washing Machines
Super Washing Machines
hard
hard

517
518 cn
us
Coin Change 2
Coin Change 2
medium
medium

518
520 cn
us
Detect Capital
Detect Capital
easy
easy

520
521 cn
us
Longest Uncommon Subsequence I
Longest Uncommon Subsequence I
easy
easy

521
522 cn
us
Longest Uncommon Subsequence II
Longest Uncommon Subsequence II
medium
medium

522
523 cn
us
Continuous Subarray Sum
Continuous Subarray Sum
medium
medium

523
524 cn
us
Longest Word in Dictionary through Deleting
Longest Word in Dictionary through Deleting
medium
medium

524
525 cn
us
Contiguous Array
Contiguous Array
medium
medium

525
526 cn
us
Beautiful Arrangement
Beautiful Arrangement
medium
medium

526
527 cn
us
Word Abbreviation
Word Abbreviation
hard
hard
🔒
🔒
527
529 cn
us
Minesweeper
Minesweeper
medium
medium

529
530 cn
us
Minimum Absolute Difference in BST
Minimum Absolute Difference in BST
easy
easy

530
531 cn
us
Lonely Pixel I
Lonely Pixel I
medium
medium
🔒
🔒
531
532 cn
us
K-diff Pairs in an Array
K-diff Pairs in an Array
easy
easy

532
533 cn
us
Lonely Pixel II
Lonely Pixel II
medium
medium
🔒
🔒
533
535 cn
us
Encode and Decode TinyURL
Encode and Decode TinyURL
medium
medium

535
536 cn
us
Construct Binary Tree from String
Construct Binary Tree from String
medium
medium
🔒
🔒
536
537 cn
us
Complex Number Multiplication
Complex Number Multiplication
medium
medium

537
538 cn
us
Convert BST to Greater Tree
Convert BST to Greater Tree
easy
easy

538
539 cn
us
Minimum Time Difference
Minimum Time Difference
medium
medium

539
540 cn
us
Single Element in a Sorted Array
Single Element in a Sorted Array
medium
medium

540
541 cn
us
Reverse String II
Reverse String II
easy
easy

541
542 cn
us
01 Matrix
01 Matrix
medium
medium

542
543 cn
us
Diameter of Binary Tree
Diameter of Binary Tree
easy
easy

543
544 cn
us
Output Contest Matches
Output Contest Matches
medium
medium
🔒
🔒
544
545 cn
us
Boundary of Binary Tree
Boundary of Binary Tree
medium
medium
🔒
🔒
545
546 cn
us
Remove Boxes
Remove Boxes
hard
hard

546
547 cn
us
Friend Circles
Friend Circles
medium
medium

547
548 cn
us
Split Array with Equal Sum
Split Array with Equal Sum
medium
medium
🔒
🔒
548
549 cn
us
Binary Tree Longest Consecutive Sequence II
Binary Tree Longest Consecutive Sequence II
medium
medium
🔒
🔒
549
551 cn
us
Student Attendance Record I
Student Attendance Record I
easy
easy

551
552 cn
us
Student Attendance Record II
Student Attendance Record II
hard
hard

552
553 cn
us
Optimal Division
Optimal Division
medium
medium

553
554 cn
us
Brick Wall
Brick Wall
medium
medium

554
555 cn
us
Split Concatenated Strings
Split Concatenated Strings
medium
medium
🔒
🔒
555
556 cn
us
Next Greater Element III
Next Greater Element III
medium
medium

556
557 cn
us
Reverse Words in a String III
Reverse Words in a String III
easy
easy

557
560 cn
us
Subarray Sum Equals K
Subarray Sum Equals K
medium
medium

560
561 cn
us
Array Partition I
Array Partition I
easy
easy

561
562 cn
us
Longest Line of Consecutive One in Matrix
Longest Line of Consecutive One in Matrix
medium
medium
🔒
🔒
562
563 cn
us
Binary Tree Tilt
Binary Tree Tilt
easy
easy

563
564 cn
us
Find the Closest Palindrome
Find the Closest Palindrome
hard
hard

564
565 cn
us
Array Nesting
Array Nesting
medium
medium

565
566 cn
us
Reshape the Matrix
Reshape the Matrix
easy
easy

566
567 cn
us
Permutation in String
Permutation in String
medium
medium

567
568 cn
us
Maximum Vacation Days
Maximum Vacation Days
hard
hard
🔒
🔒
568
569 cn
us
Median Employee Salary
Median Employee Salary
hard
hard
🔒
🔒
569
570 cn
us
Managers with at Least 5 Direct Reports
Managers with at Least 5 Direct Reports
medium
medium
🔒
🔒
570
571 cn
us
Find Median Given Frequency of Numbers
Find Median Given Frequency of Numbers
hard
hard
🔒
🔒
571
572 cn
us
Subtree of Another Tree
Subtree of Another Tree
easy
easy

572
573 cn
us
Squirrel Simulation
Squirrel Simulation
medium
medium
🔒
🔒
573
574 cn
us
Winning Candidate
Winning Candidate
medium
medium
🔒
🔒
574
575 cn
us
Distribute Candies
Distribute Candies
easy
easy

575
576 cn
us
Out of Boundary Paths
Out of Boundary Paths
medium
medium

576
577 cn
us
Employee Bonus
Employee Bonus
easy
easy
🔒
🔒
577
578 cn
us
Get Highest Answer Rate Question
Get Highest Answer Rate Question
medium
medium
🔒
🔒
578
579 cn
us
Find Cumulative Salary of an Employee
Find Cumulative Salary of an Employee
hard
hard
🔒
🔒
579
580 cn
us
Count Student Number in Departments
Count Student Number in Departments
medium
medium
🔒
🔒
580
581 cn
us
Shortest Unsorted Continuous Subarray
Shortest Unsorted Continuous Subarray
easy
easy

581
582 cn
us
Kill Process
Kill Process
medium
medium
🔒
🔒
582
583 cn
us
Delete Operation for Two Strings
Delete Operation for Two Strings
medium
medium

583
584 cn
us
Find Customer Referee
Find Customer Referee
easy
easy
🔒
🔒
584
585 cn
us
Investments in 2016
Investments in 2016
medium
medium
🔒
🔒
585
586 cn
us
Customer Placing the Largest Number of Orders
Customer Placing the Largest Number of Orders
easy
easy
🔒
🔒
586
587 cn
us
Erect the Fence
Erect the Fence
hard
hard

587
588 cn
us
Design In-Memory File System
Design In-Memory File System
hard
hard
🔒
🔒
588
591 cn
us
Tag Validator
Tag Validator
hard
hard

591
592 cn
us
Fraction Addition and Subtraction
Fraction Addition and Subtraction
medium
medium

592
593 cn
us
Valid Square
Valid Square
medium
medium

593
594 cn
us
Longest Harmonious Subsequence
Longest Harmonious Subsequence
easy
easy

594
595 cn
us
Big Countries
Big Countries
easy
easy

595
596 cn
us
Classes More Than 5 Students
Classes More Than 5 Students
easy
easy

596
597 cn
us
Friend Requests I: Overall Acceptance Rate
Friend Requests I: Overall Acceptance Rate
easy
easy
🔒
🔒
597
598 cn
us
Range Addition II
Range Addition II
easy
easy

598
599 cn
us
Minimum Index Sum of Two Lists
Minimum Index Sum of Two Lists
easy
easy

599
600 cn
us
Non-negative Integers without Consecutive Ones
Non-negative Integers without Consecutive Ones
hard
hard

600
601 cn
us
Human Traffic of Stadium
Human Traffic of Stadium
hard
hard

601
602 cn
us
Friend Requests II: Who Has the Most Friends
Friend Requests II: Who Has the Most Friends
medium
medium
🔒
🔒
602
603 cn
us
Consecutive Available Seats
Consecutive Available Seats
easy
easy
🔒
🔒
603
604 cn
us
Design Compressed String Iterator
Design Compressed String Iterator
easy
easy
🔒
🔒
604
605 cn
us
Can Place Flowers
Can Place Flowers
easy
easy

605
606 cn
us
Construct String from Binary Tree
Construct String from Binary Tree
easy
easy

606
607 cn
us
Sales Person
Sales Person
easy
easy
🔒
🔒
607
608 cn
us
Tree Node
Tree Node
medium
medium
🔒
🔒
608
609 cn
us
Find Duplicate File in System
Find Duplicate File in System
medium
medium

609
610 cn
us
Triangle Judgement
Triangle Judgement
easy
easy
🔒
🔒
610
611 cn
us
Valid Triangle Number
Valid Triangle Number
medium
medium

611
612 cn
us
Shortest Distance in a Plane
Shortest Distance in a Plane
medium
medium
🔒
🔒
612
613 cn
us
Shortest Distance in a Line
Shortest Distance in a Line
easy
easy
🔒
🔒
613
614 cn
us
Second Degree Follower
Second Degree Follower
medium
medium
🔒
🔒
614
615 cn
us
Average Salary: Departments VS Company
Average Salary: Departments VS Company
hard
hard
🔒
🔒
615
616 cn
us
Add Bold Tag in String
Add Bold Tag in String
medium
medium
🔒
🔒
616
617 cn
us
Merge Two Binary Trees
Merge Two Binary Trees
easy
easy

617
618 cn
us
Students Report By Geography
Students Report By Geography
hard
hard
🔒
🔒
618
619 cn
us
Biggest Single Number
Biggest Single Number
easy
easy
🔒
🔒
619
620 cn
us
Not Boring Movies
Not Boring Movies
easy
easy

620
621 cn
us
Task Scheduler
Task Scheduler
medium
medium

621
623 cn
us
Add One Row to Tree
Add One Row to Tree
medium
medium

623
624 cn
us
Maximum Distance in Arrays
Maximum Distance in Arrays
easy
easy
🔒
🔒
624
625 cn
us
Minimum Factorization
Minimum Factorization
medium
medium
🔒
🔒
625
626 cn
us
Exchange Seats
Exchange Seats
medium
medium

626
627 cn
us
Swap Salary
Swap Salary
easy
easy

627
628 cn
us
Maximum Product of Three Numbers
Maximum Product of Three Numbers
easy
easy

628
629 cn
us
K Inverse Pairs Array
K Inverse Pairs Array
hard
hard

629
630 cn
us
Course Schedule III
Course Schedule III
hard
hard

630
631 cn
us
Design Excel Sum Formula
Design Excel Sum Formula
hard
hard
🔒
🔒
631
632 cn
us
Smallest Range Covering Elements from K Lists
Smallest Range Covering Elements from K Lists
hard
hard

632
633 cn
us
Sum of Square Numbers
Sum of Square Numbers
easy
easy

633
634 cn
us
Find the Derangement of An Array
Find the Derangement of An Array
medium
medium
🔒
🔒
634
635 cn
us
Design Log Storage System
Design Log Storage System
medium
medium
🔒
🔒
635
636 cn
us
Exclusive Time of Functions
Exclusive Time of Functions
medium
medium

636
637 cn
us
Average of Levels in Binary Tree
Average of Levels in Binary Tree
easy
easy

637
638 cn
us
Shopping Offers
Shopping Offers
medium
medium

638
639 cn
us
Decode Ways II
Decode Ways II
hard
hard

639
640 cn
us
Solve the Equation
Solve the Equation
medium
medium

640
642 cn
us
Design Search Autocomplete System
Design Search Autocomplete System
hard
hard
🔒
🔒
642
643 cn
us
Maximum Average Subarray I
Maximum Average Subarray I
easy
easy

643
644 cn
us
Maximum Average Subarray II
Maximum Average Subarray II
hard
hard
🔒
🔒
644
645 cn
us
Set Mismatch
Set Mismatch
easy
easy

645
646 cn
us
Maximum Length of Pair Chain
Maximum Length of Pair Chain
medium
medium

646
647 cn
us
Palindromic Substrings
Palindromic Substrings
medium
medium

647
648 cn
us
Replace Words
Replace Words
medium
medium

648
649 cn
us
Dota2 Senate
Dota2 Senate
medium
medium

649
650 cn
us
2 Keys Keyboard
2 Keys Keyboard
medium
medium

650
651 cn
us
4 Keys Keyboard
4 Keys Keyboard
medium
medium
🔒
🔒
651
652 cn
us
Find Duplicate Subtrees
Find Duplicate Subtrees
medium
medium

652
653 cn
us
Two Sum IV - Input is a BST
Two Sum IV - Input is a BST
easy
easy

653
654 cn
us
Maximum Binary Tree
Maximum Binary Tree
medium
medium

654
655 cn
us
Print Binary Tree
Print Binary Tree
medium
medium

655
656 cn
us
Coin Path
Coin Path
hard
hard
🔒
🔒
656
657 cn
us
Robot Return to Origin
Robot Return to Origin
easy
easy

657
658 cn
us
Find K Closest Elements
Find K Closest Elements
medium
medium

658
659 cn
us
Split Array into Consecutive Subsequences
Split Array into Consecutive Subsequences
medium
medium

659
660 cn
us
Remove 9
Remove 9
hard
hard
🔒
🔒
660
661 cn
us
Image Smoother
Image Smoother
easy
easy

661
662 cn
us
Maximum Width of Binary Tree
Maximum Width of Binary Tree
medium
medium

662
663 cn
us
Equal Tree Partition
Equal Tree Partition
medium
medium
🔒
🔒
663
664 cn
us
Strange Printer
Strange Printer
hard
hard

664
665 cn
us
Non-decreasing Array
Non-decreasing Array
easy
easy

665
666 cn
us
Path Sum IV
Path Sum IV
medium
medium
🔒
🔒
666
667 cn
us
Beautiful Arrangement II
Beautiful Arrangement II
medium
medium

667
668 cn
us
Kth Smallest Number in Multiplication Table
Kth Smallest Number in Multiplication Table
hard
hard

668
669 cn
us
Trim a Binary Search Tree
Trim a Binary Search Tree
easy
easy

669
670 cn
us
Maximum Swap
Maximum Swap
medium
medium

670
671 cn
us
Second Minimum Node In a Binary Tree
Second Minimum Node In a Binary Tree
easy
easy

671
672 cn
us
Bulb Switcher II
Bulb Switcher II
medium
medium

672
673 cn
us
Number of Longest Increasing Subsequence
Number of Longest Increasing Subsequence
medium
medium

673
674 cn
us
Longest Continuous Increasing Subsequence
Longest Continuous Increasing Subsequence
easy
easy

674
675 cn
us
Cut Off Trees for Golf Event
Cut Off Trees for Golf Event
hard
hard

675
676 cn
us
Implement Magic Dictionary
Implement Magic Dictionary
medium
medium

676
677 cn
us
Map Sum Pairs
Map Sum Pairs
medium
medium

677
678 cn
us
Valid Parenthesis String
Valid Parenthesis String
medium
medium

678
679 cn
us
24 Game
24 Game
hard
hard

679
680 cn
us
Valid Palindrome II
Valid Palindrome II
easy
easy

680
681 cn
us
Next Closest Time
Next Closest Time
medium
medium
🔒
🔒
681
682 cn
us
Baseball Game
Baseball Game
easy
easy

682
683 cn
us
K Empty Slots
K Empty Slots
hard
hard
🔒
🔒
683
684 cn
us
Redundant Connection
Redundant Connection
medium
medium

684
685 cn
us
Redundant Connection II
Redundant Connection II
hard
hard

685
686 cn
us
Repeated String Match
Repeated String Match
easy
easy

686
687 cn
us
Longest Univalue Path
Longest Univalue Path
easy
easy

687
688 cn
us
Knight Probability in Chessboard
Knight Probability in Chessboard
medium
medium

688
689 cn
us
Maximum Sum of 3 Non-Overlapping Subarrays
Maximum Sum of 3 Non-Overlapping Subarrays
hard
hard

689
690 cn
us
Employee Importance
Employee Importance
easy
easy

690
691 cn
us
Stickers to Spell Word
Stickers to Spell Word
hard
hard

691
692 cn
us
Top K Frequent Words
Top K Frequent Words
medium
medium

692
693 cn
us
Binary Number with Alternating Bits
Binary Number with Alternating Bits
easy
easy

693
694 cn
us
Number of Distinct Islands
Number of Distinct Islands
medium
medium
🔒
🔒
694
695 cn
us
Max Area of Island
Max Area of Island
medium
medium

695
696 cn
us
Count Binary Substrings
Count Binary Substrings
easy
easy

696
697 cn
us
Degree of an Array
Degree of an Array
easy
easy

697
698 cn
us
Partition to K Equal Sum Subsets
Partition to K Equal Sum Subsets
medium
medium

698
699 cn
us
Falling Squares
Falling Squares
hard
hard

699
711 cn
us
Number of Distinct Islands II
Number of Distinct Islands II
hard
hard
🔒
🔒
711
712 cn
us
Minimum ASCII Delete Sum for Two Strings
Minimum ASCII Delete Sum for Two Strings
medium
medium

712
713 cn
us
Subarray Product Less Than K
Subarray Product Less Than K
medium
medium

713
714 cn
us
Best Time to Buy and Sell Stock with Transaction Fee
Best Time to Buy and Sell Stock with Transaction Fee
medium
medium

714
715 cn
us
Range Module
Range Module
hard
hard

715
716 cn
us
Max Stack
Max Stack
easy
easy
🔒
🔒
716
717 cn
us
1-bit and 2-bit Characters
1-bit and 2-bit Characters
easy
easy

717
718 cn
us
Maximum Length of Repeated Subarray
Maximum Length of Repeated Subarray
medium
medium

718
719 cn
us
Find K-th Smallest Pair Distance
Find K-th Smallest Pair Distance
hard
hard

719
720 cn
us
Longest Word in Dictionary
Longest Word in Dictionary
easy
easy

720
721 cn
us
Accounts Merge
Accounts Merge
medium
medium

721
722 cn
us
Remove Comments
Remove Comments
medium
medium

722
723 cn
us
Candy Crush
Candy Crush
medium
medium
🔒
🔒
723
724 cn
us
Find Pivot Index
Find Pivot Index
easy
easy

724
725 cn
us
Split Linked List in Parts
Split Linked List in Parts
medium
medium

725
726 cn
us
Number of Atoms
Number of Atoms
hard
hard

726
727 cn
us
Minimum Window Subsequence
Minimum Window Subsequence
hard
hard
🔒
🔒
727
728 cn
us
Self Dividing Numbers
Self Dividing Numbers
easy
easy

728
729 cn
us
My Calendar I
My Calendar I
medium
medium

729
730 cn
us
Count Different Palindromic Subsequences
Count Different Palindromic Subsequences
hard
hard

730
731 cn
us
My Calendar II
My Calendar II
medium
medium

731
732 cn
us
My Calendar III
My Calendar III
hard
hard

732
733 cn
us
Flood Fill
Flood Fill
easy
easy

733
734 cn
us
Sentence Similarity
Sentence Similarity
easy
easy
🔒
🔒
734
735 cn
us
Asteroid Collision
Asteroid Collision
medium
medium

735
736 cn
us
Parse Lisp Expression
Parse Lisp Expression
hard
hard

736
737 cn
us
Sentence Similarity II
Sentence Similarity II
medium
medium
🔒
🔒
737
738 cn
us
Monotone Increasing Digits
Monotone Increasing Digits
medium
medium

738
739 cn
us
Daily Temperatures
Daily Temperatures
medium
medium

739
740 cn
us
Delete and Earn
Delete and Earn
medium
medium

740
741 cn
us
Cherry Pickup
Cherry Pickup
hard
hard

741
709 cn
us
To Lower Case
To Lower Case
easy
easy

742
742 cn
us
Closest Leaf in a Binary Tree
Closest Leaf in a Binary Tree
medium
medium
🔒
🔒
743
743 cn
us
Network Delay Time
Network Delay Time
medium
medium

744
744 cn
us
Find Smallest Letter Greater Than Target
Find Smallest Letter Greater Than Target
easy
easy

745
745 cn
us
Prefix and Suffix Search
Prefix and Suffix Search
hard
hard

746
746 cn
us
Min Cost Climbing Stairs
Min Cost Climbing Stairs
easy
easy

747
747 cn
us
Largest Number At Least Twice of Others
Largest Number At Least Twice of Others
easy
easy

748
748 cn
us
Shortest Completing Word
Shortest Completing Word
easy
easy

749
749 cn
us
Contain Virus
Contain Virus
hard
hard

750
750 cn
us
Number Of Corner Rectangles
Number Of Corner Rectangles
medium
medium
🔒
🔒
751
751 cn
us
IP to CIDR
IP to CIDR
easy
easy
🔒
🔒
752
752 cn
us
Open the Lock
Open the Lock
medium
medium

753
753 cn
us
Cracking the Safe
Cracking the Safe
hard
hard

754
754 cn
us
Reach a Number
Reach a Number
medium
medium

755
755 cn
us
Pour Water
Pour Water
medium
medium
🔒
🔒
756
756 cn
us
Pyramid Transition Matrix
Pyramid Transition Matrix
medium
medium

757
426 cn
us
Convert Binary Search Tree to Sorted Doubly Linked List
Convert Binary Search Tree to Sorted Doubly Linked List
medium
medium
🔒
🔒
758
757 cn
us
Set Intersection Size At Least Two
Set Intersection Size At Least Two
hard
hard

759
758 cn
us
Bold Words in String
Bold Words in String
easy
easy
🔒
🔒
760
759 cn
us
Employee Free Time
Employee Free Time
hard
hard
🔒
🔒
761
760 cn
us
Find Anagram Mappings
Find Anagram Mappings
easy
easy
🔒
🔒
762
761 cn
us
Special Binary String
Special Binary String
hard
hard

763
429 cn
us
N-ary Tree Level Order Traversal
N-ary Tree Level Order Traversal
medium
medium

764
428 cn
us
Serialize and Deserialize N-ary Tree
Serialize and Deserialize N-ary Tree
hard
hard
🔒
🔒
765
430 cn
us
Flatten a Multilevel Doubly Linked List
Flatten a Multilevel Doubly Linked List
medium
medium

766
762 cn
us
Prime Number of Set Bits in Binary Representation
Prime Number of Set Bits in Binary Representation
easy
easy

767
763 cn
us
Partition Labels
Partition Labels
medium
medium

768
764 cn
us
Largest Plus Sign
Largest Plus Sign
medium
medium

769
765 cn
us
Couples Holding Hands
Couples Holding Hands
hard
hard

770
431 cn
us
Encode N-ary Tree to Binary Tree
Encode N-ary Tree to Binary Tree
hard
hard
🔒
🔒
771
427 cn
us
Construct Quad Tree
Construct Quad Tree
medium
medium

772
558 cn
us
Logical OR of Two Binary Grids Represented as Quad-Trees
Logical OR of Two Binary Grids Represented as Quad-Trees
medium
medium

773
559 cn
us
Maximum Depth of N-ary Tree
Maximum Depth of N-ary Tree
easy
easy

774
589 cn
us
N-ary Tree Preorder Traversal
N-ary Tree Preorder Traversal
easy
easy

775
590 cn
us
N-ary Tree Postorder Traversal
N-ary Tree Postorder Traversal
easy
easy

776
766 cn
us
Toeplitz Matrix
Toeplitz Matrix
easy
easy

777
767 cn
us
Reorganize String
Reorganize String
medium
medium

778
768 cn
us
Max Chunks To Make Sorted II
Max Chunks To Make Sorted II
hard
hard

779
769 cn
us
Max Chunks To Make Sorted
Max Chunks To Make Sorted
medium
medium

780
770 cn
us
Basic Calculator IV
Basic Calculator IV
hard
hard

781
771 cn
us
Jewels and Stones
Jewels and Stones
easy
easy

782
700 cn
us
Search in a Binary Search Tree
Search in a Binary Search Tree
easy
easy

783
701 cn
us
Insert into a Binary Search Tree
Insert into a Binary Search Tree
medium
medium

784
772 cn
us
Basic Calculator III
Basic Calculator III
hard
hard
🔒
🔒
785
702 cn
us
Search in a Sorted Array of Unknown Size
Search in a Sorted Array of Unknown Size
medium
medium
🔒
🔒
786
773 cn
us
Sliding Puzzle
Sliding Puzzle
hard
hard

787
774 cn
us
Minimize Max Distance to Gas Station
Minimize Max Distance to Gas Station
hard
hard
🔒
🔒
788
703 cn
us
Kth Largest Element in a Stream
Kth Largest Element in a Stream
easy
easy

789
775 cn
us
Global and Local Inversions
Global and Local Inversions
medium
medium

790
776 cn
us
Split BST
Split BST
medium
medium
🔒
🔒
791
704 cn
us
Binary Search
Binary Search
easy
easy

792
777 cn
us
Swap Adjacent in LR String
Swap Adjacent in LR String
medium
medium

793
778 cn
us
Swim in Rising Water
Swim in Rising Water
hard
hard

794
779 cn
us
K-th Symbol in Grammar
K-th Symbol in Grammar
medium
medium

795
780 cn
us
Reaching Points
Reaching Points
hard
hard

796
781 cn
us
Rabbits in Forest
Rabbits in Forest
medium
medium

797
782 cn
us
Transform to Chessboard
Transform to Chessboard
hard
hard

798
783 cn
us
Minimum Distance Between BST Nodes
Minimum Distance Between BST Nodes
easy
easy

799
784 cn
us
Letter Case Permutation
Letter Case Permutation
easy
easy

800
785 cn
us
Is Graph Bipartite?
Is Graph Bipartite?
medium
medium

801
786 cn
us
K-th Smallest Prime Fraction
K-th Smallest Prime Fraction
hard
hard

802
787 cn
us
Cheapest Flights Within K Stops
Cheapest Flights Within K Stops
medium
medium

803
788 cn
us
Rotated Digits
Rotated Digits
easy
easy

804
789 cn
us
Escape The Ghosts
Escape The Ghosts
medium
medium

805
790 cn
us
Domino and Tromino Tiling
Domino and Tromino Tiling
medium
medium

806
791 cn
us
Custom Sort String
Custom Sort String
medium
medium

807
792 cn
us
Number of Matching Subsequences
Number of Matching Subsequences
medium
medium

808
793 cn
us
Preimage Size of Factorial Zeroes Function
Preimage Size of Factorial Zeroes Function
hard
hard

809
794 cn
us
Valid Tic-Tac-Toe State
Valid Tic-Tac-Toe State
medium
medium

810
795 cn
us
Number of Subarrays with Bounded Maximum
Number of Subarrays with Bounded Maximum
medium
medium

811
796 cn
us
Rotate String
Rotate String
easy
easy

812
797 cn
us
All Paths From Source to Target
All Paths From Source to Target
medium
medium

813
798 cn
us
Smallest Rotation with Highest Score
Smallest Rotation with Highest Score
hard
hard

814
799 cn
us
Champagne Tower
Champagne Tower
medium
medium

815
705 cn
us
Design HashSet
Design HashSet
easy
easy

816
706 cn
us
Design HashMap
Design HashMap
easy
easy

817
800 cn
us
Similar RGB Color
Similar RGB Color
easy
easy
🔒
🔒
818
801 cn
us
Minimum Swaps To Make Sequences Increasing
Minimum Swaps To Make Sequences Increasing
medium
medium

819
802 cn
us
Find Eventual Safe States
Find Eventual Safe States
medium
medium

820
803 cn
us
Bricks Falling When Hit
Bricks Falling When Hit
hard
hard

821
804 cn
us
Unique Morse Code Words
Unique Morse Code Words
easy
easy

822
805 cn
us
Split Array With Same Average
Split Array With Same Average
hard
hard

823
806 cn
us
Number of Lines To Write String
Number of Lines To Write String
easy
easy

824
807 cn
us
Max Increase to Keep City Skyline
Max Increase to Keep City Skyline
medium
medium

825
808 cn
us
Soup Servings
Soup Servings
medium
medium

826
809 cn
us
Expressive Words
Expressive Words
medium
medium

827
810 cn
us
Chalkboard XOR Game
Chalkboard XOR Game
hard
hard

828
811 cn
us
Subdomain Visit Count
Subdomain Visit Count
easy
easy

829
812 cn
us
Largest Triangle Area
Largest Triangle Area
easy
easy

830
813 cn
us
Largest Sum of Averages
Largest Sum of Averages
medium
medium

831
814 cn
us
Binary Tree Pruning
Binary Tree Pruning
medium
medium

832
815 cn
us
Bus Routes
Bus Routes
hard
hard

833
816 cn
us
Ambiguous Coordinates
Ambiguous Coordinates
medium
medium

834
817 cn
us
Linked List Components
Linked List Components
medium
medium

835
818 cn
us
Race Car
Race Car
hard
hard

836
819 cn
us
Most Common Word
Most Common Word
easy
easy

837
707 cn
us
Design Linked List
Design Linked List
medium
medium

838
820 cn
us
Short Encoding of Words
Short Encoding of Words
medium
medium

839
821 cn
us
Shortest Distance to a Character
Shortest Distance to a Character
easy
easy

841
822 cn
us
Card Flipping Game
Card Flipping Game
medium
medium

842
823 cn
us
Binary Trees With Factors
Binary Trees With Factors
medium
medium

843
708 cn
us
Insert into a Sorted Circular Linked List
Insert into a Sorted Circular Linked List
medium
medium
🔒
🔒
850
824 cn
us
Goat Latin
Goat Latin
easy
easy

851
825 cn
us
Friends Of Appropriate Ages
Friends Of Appropriate Ages
medium
medium

852
826 cn
us
Most Profit Assigning Work
Most Profit Assigning Work
medium
medium

853
827 cn
us
Making A Large Island
Making A Large Island
hard
hard

854
828 cn
us
Count Unique Characters of All Substrings of a Given String
Count Unique Characters of All Substrings of a Given String
hard
hard

855
829 cn
us
Consecutive Numbers Sum
Consecutive Numbers Sum
hard
hard

856
830 cn
us
Positions of Large Groups
Positions of Large Groups
easy
easy

857
831 cn
us
Masking Personal Information
Masking Personal Information
medium
medium

858
641 cn
us
Design Circular Deque
Design Circular Deque
medium
medium

859
622 cn
us
Design Circular Queue
Design Circular Queue
medium
medium

860
832 cn
us
Flipping an Image
Flipping an Image
easy
easy

861
833 cn
us
Find And Replace in String
Find And Replace in String
medium
medium

862
834 cn
us
Sum of Distances in Tree
Sum of Distances in Tree
hard
hard

863
835 cn
us
Image Overlap
Image Overlap
medium
medium

864
489 cn
us
Robot Room Cleaner
Robot Room Cleaner
hard
hard
🔒
🔒
865
836 cn
us
Rectangle Overlap
Rectangle Overlap
easy
easy

866
837 cn
us
New 21 Game
New 21 Game
medium
medium

867
838 cn
us
Push Dominoes
Push Dominoes
medium
medium

868
839 cn
us
Similar String Groups
Similar String Groups
hard
hard

869
840 cn
us
Magic Squares In Grid
Magic Squares In Grid
easy
easy

870
841 cn
us
Keys and Rooms
Keys and Rooms
medium
medium

871
842 cn
us
Split Array into Fibonacci Sequence
Split Array into Fibonacci Sequence
medium
medium

872
843 cn
us
Guess the Word
Guess the Word
hard
hard

873
844 cn
us
Backspace String Compare
Backspace String Compare
easy
easy

874
845 cn
us
Longest Mountain in Array
Longest Mountain in Array
medium
medium

875
846 cn
us
Hand of Straights
Hand of Straights
medium
medium

876
847 cn
us
Shortest Path Visiting All Nodes
Shortest Path Visiting All Nodes
hard
hard

877
848 cn
us
Shifting Letters
Shifting Letters
medium
medium

878
849 cn
us
Maximize Distance to Closest Person
Maximize Distance to Closest Person
easy
easy

879
850 cn
us
Rectangle Area II
Rectangle Area II
hard
hard

880
851 cn
us
Loud and Rich
Loud and Rich
medium
medium

881
852 cn
us
Peak Index in a Mountain Array
Peak Index in a Mountain Array
easy
easy

882
853 cn
us
Car Fleet
Car Fleet
medium
medium

883
854 cn
us
K-Similar Strings
K-Similar Strings
hard
hard

884
855 cn
us
Exam Room
Exam Room
medium
medium

885
856 cn
us
Score of Parentheses
Score of Parentheses
medium
medium

886
857 cn
us
Minimum Cost to Hire K Workers
Minimum Cost to Hire K Workers
hard
hard

887
858 cn
us
Mirror Reflection
Mirror Reflection
medium
medium

888
859 cn
us
Buddy Strings
Buddy Strings
easy
easy

889
860 cn
us
Lemonade Change
Lemonade Change
easy
easy

890
861 cn
us
Score After Flipping Matrix
Score After Flipping Matrix
medium
medium

891
862 cn
us
Shortest Subarray with Sum at Least K
Shortest Subarray with Sum at Least K
hard
hard

892
863 cn
us
All Nodes Distance K in Binary Tree
All Nodes Distance K in Binary Tree
medium
medium

893
710 cn
us
Random Pick with Blacklist
Random Pick with Blacklist
hard
hard

894
864 cn
us
Shortest Path to Get All Keys
Shortest Path to Get All Keys
hard
hard

895
865 cn
us
Smallest Subtree with all the Deepest Nodes
Smallest Subtree with all the Deepest Nodes
medium
medium

896
866 cn
us
Prime Palindrome
Prime Palindrome
medium
medium

897
867 cn
us
Transpose Matrix
Transpose Matrix
easy
easy

898
868 cn
us
Binary Gap
Binary Gap
easy
easy

899
869 cn
us
Reordered Power of 2
Reordered Power of 2
medium
medium

900
870 cn
us
Advantage Shuffle
Advantage Shuffle
medium
medium

901
871 cn
us
Minimum Number of Refueling Stops
Minimum Number of Refueling Stops
hard
hard

902
470 cn
us
Implement Rand10() Using Rand7()
Implement Rand10() Using Rand7()
medium
medium

903
872 cn
us
Leaf-Similar Trees
Leaf-Similar Trees
easy
easy

904
873 cn
us
Length of Longest Fibonacci Subsequence
Length of Longest Fibonacci Subsequence
medium
medium

905
874 cn
us
Walking Robot Simulation
Walking Robot Simulation
easy
easy

906
875 cn
us
Koko Eating Bananas
Koko Eating Bananas
medium
medium

907
876 cn
us
Middle of the Linked List
Middle of the Linked List
easy
easy

908
877 cn
us
Stone Game
Stone Game
medium
medium

909
878 cn
us
Nth Magical Number
Nth Magical Number
hard
hard

910
879 cn
us
Profitable Schemes
Profitable Schemes
hard
hard

911
528 cn
us
Random Pick with Weight
Random Pick with Weight
medium
medium

912
519 cn
us
Random Flip Matrix
Random Flip Matrix
medium
medium

913
497 cn
us
Random Point in Non-overlapping Rectangles
Random Point in Non-overlapping Rectangles
medium
medium

914
478 cn
us
Generate Random Point in a Circle
Generate Random Point in a Circle
medium
medium

915
880 cn
us
Decoded String at Index
Decoded String at Index
medium
medium

916
881 cn
us
Boats to Save People
Boats to Save People
medium
medium

917
882 cn
us
Reachable Nodes In Subdivided Graph
Reachable Nodes In Subdivided Graph
hard
hard

918
883 cn
us
Projection Area of 3D Shapes
Projection Area of 3D Shapes
easy
easy

919
884 cn
us
Uncommon Words from Two Sentences
Uncommon Words from Two Sentences
easy
easy

920
885 cn
us
Spiral Matrix III
Spiral Matrix III
medium
medium

921
886 cn
us
Possible Bipartition
Possible Bipartition
medium
medium

922
887 cn
us
Super Egg Drop
Super Egg Drop
hard
hard

923
888 cn
us
Fair Candy Swap
Fair Candy Swap
easy
easy

924
889 cn
us
Construct Binary Tree from Preorder and Postorder Traversal
Construct Binary Tree from Preorder and Postorder Traversal
medium
medium

925
890 cn
us
Find and Replace Pattern
Find and Replace Pattern
medium
medium

926
891 cn
us
Sum of Subsequence Widths
Sum of Subsequence Widths
hard
hard

927
892 cn
us
Surface Area of 3D Shapes
Surface Area of 3D Shapes
easy
easy

928
893 cn
us
Groups of Special-Equivalent Strings
Groups of Special-Equivalent Strings
easy
easy

929
894 cn
us
All Possible Full Binary Trees
All Possible Full Binary Trees
medium
medium

930
895 cn
us
Maximum Frequency Stack
Maximum Frequency Stack
hard
hard

931
896 cn
us
Monotonic Array
Monotonic Array
easy
easy

932
897 cn
us
Increasing Order Search Tree
Increasing Order Search Tree
easy
easy

933
898 cn
us
Bitwise ORs of Subarrays
Bitwise ORs of Subarrays
medium
medium

934
899 cn
us
Orderly Queue
Orderly Queue
hard
hard

935
900 cn
us
RLE Iterator
RLE Iterator
medium
medium

936
901 cn
us
Online Stock Span
Online Stock Span
medium
medium

937
902 cn
us
Numbers At Most N Given Digit Set
Numbers At Most N Given Digit Set
hard
hard

938
903 cn
us
Valid Permutations for DI Sequence
Valid Permutations for DI Sequence
hard
hard

939
904 cn
us
Fruit Into Baskets
Fruit Into Baskets
medium
medium

940
905 cn
us
Sort Array By Parity
Sort Array By Parity
easy
easy

941
906 cn
us
Super Palindromes
Super Palindromes
hard
hard

942
907 cn
us
Sum of Subarray Minimums
Sum of Subarray Minimums
medium
medium

943
908 cn
us
Smallest Range I
Smallest Range I
easy
easy

944
909 cn
us
Snakes and Ladders
Snakes and Ladders
medium
medium

945
910 cn
us
Smallest Range II
Smallest Range II
medium
medium

946
911 cn
us
Online Election
Online Election
medium
medium

947
912 cn
us
Sort an Array
Sort an Array
medium
medium

948
913 cn
us
Cat and Mouse
Cat and Mouse
hard
hard

949
914 cn
us
X of a Kind in a Deck of Cards
X of a Kind in a Deck of Cards
easy
easy

950
915 cn
us
Partition Array into Disjoint Intervals
Partition Array into Disjoint Intervals
medium
medium

951
916 cn
us
Word Subsets
Word Subsets
medium
medium

952
917 cn
us
Reverse Only Letters
Reverse Only Letters
easy
easy

953
918 cn
us
Maximum Sum Circular Subarray
Maximum Sum Circular Subarray
medium
medium

954
919 cn
us
Complete Binary Tree Inserter
Complete Binary Tree Inserter
medium
medium

955
920 cn
us
Number of Music Playlists
Number of Music Playlists
hard
hard

956
921 cn
us
Minimum Add to Make Parentheses Valid
Minimum Add to Make Parentheses Valid
medium
medium

957
922 cn
us
Sort Array By Parity II
Sort Array By Parity II
easy
easy

958
923 cn
us
3Sum With Multiplicity
3Sum With Multiplicity
medium
medium

959
924 cn
us
Minimize Malware Spread
Minimize Malware Spread
hard
hard

960
925 cn
us
Long Pressed Name
Long Pressed Name
easy
easy

961
926 cn
us
Flip String to Monotone Increasing
Flip String to Monotone Increasing
medium
medium

962
927 cn
us
Three Equal Parts
Three Equal Parts
hard
hard

963
928 cn
us
Minimize Malware Spread II
Minimize Malware Spread II
hard
hard

964
929 cn
us
Unique Email Addresses
Unique Email Addresses
easy
easy

965
930 cn
us
Binary Subarrays With Sum
Binary Subarrays With Sum
medium
medium

966
931 cn
us
Minimum Falling Path Sum
Minimum Falling Path Sum
medium
medium

967
932 cn
us
Beautiful Array
Beautiful Array
medium
medium

968
933 cn
us
Number of Recent Calls
Number of Recent Calls
easy
easy

969
934 cn
us
Shortest Bridge
Shortest Bridge
medium
medium

971
935 cn
us
Knight Dialer
Knight Dialer
medium
medium

972
936 cn
us
Stamping The Sequence
Stamping The Sequence
hard
hard

973
937 cn
us
Reorder Data in Log Files
Reorder Data in Log Files
easy
easy

974
938 cn
us
Range Sum of BST
Range Sum of BST
easy
easy

975
939 cn
us
Minimum Area Rectangle
Minimum Area Rectangle
medium
medium

976
940 cn
us
Distinct Subsequences II
Distinct Subsequences II
hard
hard

977
941 cn
us
Valid Mountain Array
Valid Mountain Array
easy
easy

978
942 cn
us
DI String Match
DI String Match
easy
easy

979
943 cn
us
Find the Shortest Superstring
Find the Shortest Superstring
hard
hard

980
944 cn
us
Delete Columns to Make Sorted
Delete Columns to Make Sorted
easy
easy

981
945 cn
us
Minimum Increment to Make Array Unique
Minimum Increment to Make Array Unique
medium
medium

982
946 cn
us
Validate Stack Sequences
Validate Stack Sequences
medium
medium

983
947 cn
us
Most Stones Removed with Same Row or Column
Most Stones Removed with Same Row or Column
medium
medium

984
948 cn
us
Bag of Tokens
Bag of Tokens
medium
medium

985
949 cn
us
Largest Time for Given Digits
Largest Time for Given Digits
easy
easy

986
950 cn
us
Reveal Cards In Increasing Order
Reveal Cards In Increasing Order
medium
medium

987
951 cn
us
Flip Equivalent Binary Trees
Flip Equivalent Binary Trees
medium
medium

988
952 cn
us
Largest Component Size by Common Factor
Largest Component Size by Common Factor
hard
hard

989
953 cn
us
Verifying an Alien Dictionary
Verifying an Alien Dictionary
easy
easy

990
954 cn
us
Array of Doubled Pairs
Array of Doubled Pairs
medium
medium

991
955 cn
us
Delete Columns to Make Sorted II
Delete Columns to Make Sorted II
medium
medium

992
956 cn
us
Tallest Billboard
Tallest Billboard
hard
hard

993
957 cn
us
Prison Cells After N Days
Prison Cells After N Days
medium
medium

994
958 cn
us
Check Completeness of a Binary Tree
Check Completeness of a Binary Tree
medium
medium

998
959 cn
us
Regions Cut By Slashes
Regions Cut By Slashes
medium
medium

999
960 cn
us
Delete Columns to Make Sorted III
Delete Columns to Make Sorted III
hard
hard

1000
961 cn
us
N-Repeated Element in Size 2N Array
N-Repeated Element in Size 2N Array
easy
easy

1001
962 cn
us
Maximum Width Ramp
Maximum Width Ramp
medium
medium

1002
963 cn
us
Minimum Area Rectangle II
Minimum Area Rectangle II
medium
medium

1003
964 cn
us
Least Operators to Express Number
Least Operators to Express Number
hard
hard

1004
965 cn
us
Univalued Binary Tree
Univalued Binary Tree
easy
easy

1005
966 cn
us
Vowel Spellchecker
Vowel Spellchecker
medium
medium

1006
967 cn
us
Numbers With Same Consecutive Differences
Numbers With Same Consecutive Differences
medium
medium

1007
968 cn
us
Binary Tree Cameras
Binary Tree Cameras
hard
hard

1008
969 cn
us
Pancake Sorting
Pancake Sorting
medium
medium

1009
970 cn
us
Powerful Integers
Powerful Integers
easy
easy

1010
971 cn
us
Flip Binary Tree To Match Preorder Traversal
Flip Binary Tree To Match Preorder Traversal
medium
medium

1011
972 cn
us
Equal Rational Numbers
Equal Rational Numbers
hard
hard

1012
509 cn
us
Fibonacci Number
Fibonacci Number
easy
easy

1013
973 cn
us
K Closest Points to Origin
K Closest Points to Origin
medium
medium

1014
974 cn
us
Subarray Sums Divisible by K
Subarray Sums Divisible by K
medium
medium

1016
975 cn
us
Odd Even Jump
Odd Even Jump
hard
hard

1017
976 cn
us
Largest Perimeter Triangle
Largest Perimeter Triangle
easy
easy

1018
977 cn
us
Squares of a Sorted Array
Squares of a Sorted Array
easy
easy

1019
978 cn
us
Longest Turbulent Subarray
Longest Turbulent Subarray
medium
medium

1020
979 cn
us
Distribute Coins in Binary Tree
Distribute Coins in Binary Tree
medium
medium

1021
980 cn
us
Unique Paths III
Unique Paths III
hard
hard

1022
981 cn
us
Time Based Key-Value Store
Time Based Key-Value Store
medium
medium

1023
982 cn
us
Triples with Bitwise AND Equal To Zero
Triples with Bitwise AND Equal To Zero
hard
hard

1024
983 cn
us
Minimum Cost For Tickets
Minimum Cost For Tickets
medium
medium

1025
984 cn
us
String Without AAA or BBB
String Without AAA or BBB
medium
medium

1026
985 cn
us
Sum of Even Numbers After Queries
Sum of Even Numbers After Queries
easy
easy

1027
986 cn
us
Interval List Intersections
Interval List Intersections
medium
medium

1028
987 cn
us
Vertical Order Traversal of a Binary Tree
Vertical Order Traversal of a Binary Tree
medium
medium

1029
988 cn
us
Smallest String Starting From Leaf
Smallest String Starting From Leaf
medium
medium

1030
989 cn
us
Add to Array-Form of Integer
Add to Array-Form of Integer
easy
easy

1031
990 cn
us
Satisfiability of Equality Equations
Satisfiability of Equality Equations
medium
medium

1032
991 cn
us
Broken Calculator
Broken Calculator
medium
medium

1033
992 cn
us
Subarrays with K Different Integers
Subarrays with K Different Integers
hard
hard

1034
993 cn
us
Cousins in Binary Tree
Cousins in Binary Tree
easy
easy

1035
994 cn
us
Rotting Oranges
Rotting Oranges
medium
medium

1036
995 cn
us
Minimum Number of K Consecutive Bit Flips
Minimum Number of K Consecutive Bit Flips
hard
hard

1037
996 cn
us
Number of Squareful Arrays
Number of Squareful Arrays
hard
hard

1038
997 cn
us
Find the Town Judge
Find the Town Judge
easy
easy

1039
998 cn
us
Maximum Binary Tree II
Maximum Binary Tree II
medium
medium

1040
999 cn
us
Available Captures for Rook
Available Captures for Rook
easy
easy

1041
1000 cn
us
Minimum Cost to Merge Stones
Minimum Cost to Merge Stones
hard
hard

1042
1001 cn
us
Grid Illumination
Grid Illumination
hard
hard

1043
1002 cn
us
Find Common Characters
Find Common Characters
easy
easy

1044
1003 cn
us
Check If Word Is Valid After Substitutions
Check If Word Is Valid After Substitutions
medium
medium

1045
1004 cn
us
Max Consecutive Ones III
Max Consecutive Ones III
medium
medium

1046
1005 cn
us
Maximize Sum Of Array After K Negations
Maximize Sum Of Array After K Negations
easy
easy

1047
1006 cn
us
Clumsy Factorial
Clumsy Factorial
medium
medium

1048
1007 cn
us
Minimum Domino Rotations For Equal Row
Minimum Domino Rotations For Equal Row
medium
medium

1049
1008 cn
us
Construct Binary Search Tree from Preorder Traversal
Construct Binary Search Tree from Preorder Traversal
medium
medium

1050
1055 cn
us
Shortest Way to Form String
Shortest Way to Form String
medium
medium
🔒
🔒
1051
1057 cn
us
Campus Bikes
Campus Bikes
medium
medium
🔒
🔒
1052
1058 cn
us
Minimize Rounding Error to Meet Target
Minimize Rounding Error to Meet Target
medium
medium
🔒
🔒
1053
1009 cn
us
Complement of Base 10 Integer
Complement of Base 10 Integer
easy
easy

1054
1010 cn
us
Pairs of Songs With Total Durations Divisible by 60
Pairs of Songs With Total Durations Divisible by 60
easy
easy

1055
1011 cn
us
Capacity To Ship Packages Within D Days
Capacity To Ship Packages Within D Days
medium
medium

1056
1012 cn
us
Numbers With Repeated Digits
Numbers With Repeated Digits
hard
hard

1057
1061 cn
us
Lexicographically Smallest Equivalent String
Lexicographically Smallest Equivalent String
medium
medium
🔒
🔒
1058
1060 cn
us
Missing Element in Sorted Array
Missing Element in Sorted Array
medium
medium
🔒
🔒
1059
1062 cn
us
Longest Repeating Substring
Longest Repeating Substring
medium
medium
🔒
🔒
1060
1063 cn
us
Number of Valid Subarrays
Number of Valid Subarrays
hard
hard
🔒
🔒
1061
1013 cn
us
Partition Array Into Three Parts With Equal Sum
Partition Array Into Three Parts With Equal Sum
easy
easy

1062
1014 cn
us
Best Sightseeing Pair
Best Sightseeing Pair
medium
medium

1063
1015 cn
us
Smallest Integer Divisible by K
Smallest Integer Divisible by K
medium
medium

1064
1016 cn
us
Binary String With Substrings Representing 1 To N
Binary String With Substrings Representing 1 To N
medium
medium

1065
1064 cn
us
Fixed Point
Fixed Point
easy
easy
🔒
🔒
1066
1066 cn
us
Campus Bikes II
Campus Bikes II
medium
medium
🔒
🔒
1067
1067 cn
us
Digit Count in Range
Digit Count in Range
hard
hard
🔒
🔒
1068
1056 cn
us
Confusing Number
Confusing Number
easy
easy
🔒
🔒
1069
1017 cn
us
Convert to Base -2
Convert to Base -2
medium
medium

1070
1018 cn
us
Binary Prefix Divisible By 5
Binary Prefix Divisible By 5
easy
easy

1071
1019 cn
us
Next Greater Node In Linked List
Next Greater Node In Linked List
medium
medium

1072
1020 cn
us
Number of Enclaves
Number of Enclaves
medium
medium

1073
1086 cn
us
High Five
High Five
easy
easy
🔒
🔒
1074
1065 cn
us
Index Pairs of a String
Index Pairs of a String
easy
easy
🔒
🔒
1075
1087 cn
us
Brace Expansion
Brace Expansion
medium
medium
🔒
🔒
1076
1088 cn
us
Confusing Number II
Confusing Number II
hard
hard
🔒
🔒
1077
1021 cn
us
Remove Outermost Parentheses
Remove Outermost Parentheses
easy
easy

1078
1022 cn
us
Sum of Root To Leaf Binary Numbers
Sum of Root To Leaf Binary Numbers
easy
easy

1079
1023 cn
us
Camelcase Matching
Camelcase Matching
medium
medium

1080
1024 cn
us
Video Stitching
Video Stitching
medium
medium

1081
1085 cn
us
Sum of Digits in the Minimum Number
Sum of Digits in the Minimum Number
easy
easy
🔒
🔒
1082
1099 cn
us
Two Sum Less Than K
Two Sum Less Than K
easy
easy
🔒
🔒
1083
1100 cn
us
Find K-Length Substrings With No Repeated Characters
Find K-Length Substrings With No Repeated Characters
medium
medium
🔒
🔒
1084
1101 cn
us
The Earliest Moment When Everyone Become Friends
The Earliest Moment When Everyone Become Friends
medium
medium
🔒
🔒
1085
1025 cn
us
Divisor Game
Divisor Game
easy
easy

1086
1027 cn
us
Longest Arithmetic Sequence
Longest Arithmetic Sequence
medium
medium

1087
1118 cn
us
Number of Days in a Month
Number of Days in a Month
easy
easy
🔒
🔒
1088
1119 cn
us
Remove Vowels from a String
Remove Vowels from a String
easy
easy
🔒
🔒
1089
1134 cn
us
Armstrong Number
Armstrong Number
easy
easy
🔒
🔒
1090
1120 cn
us
Maximum Average Subtree
Maximum Average Subtree
medium
medium
🔒
🔒
1091
1026 cn
us
Maximum Difference Between Node and Ancestor
Maximum Difference Between Node and Ancestor
medium
medium

1092
1028 cn
us
Recover a Tree From Preorder Traversal
Recover a Tree From Preorder Traversal
hard
hard

1093
1030 cn
us
Matrix Cells in Distance Order
Matrix Cells in Distance Order
easy
easy

1094
1029 cn
us
Two City Scheduling
Two City Scheduling
easy
easy

1095
1031 cn
us
Maximum Sum of Two Non-Overlapping Subarrays
Maximum Sum of Two Non-Overlapping Subarrays
medium
medium

1096
1032 cn
us
Stream of Characters
Stream of Characters
hard
hard

1097
1133 cn
us
Largest Unique Number
Largest Unique Number
easy
easy
🔒
🔒
1098
1102 cn
us
Path With Maximum Minimum Value
Path With Maximum Minimum Value
medium
medium
🔒
🔒
1099
1135 cn
us
Connecting Cities With Minimum Cost
Connecting Cities With Minimum Cost
medium
medium
🔒
🔒
1100
1136 cn
us
Parallel Courses
Parallel Courses
hard
hard
🔒
🔒
1101
1150 cn
us
Check If a Number Is Majority Element in a Sorted Array
Check If a Number Is Majority Element in a Sorted Array
easy
easy
🔒
🔒
1102
1033 cn
us
Moving Stones Until Consecutive
Moving Stones Until Consecutive
easy
easy

1103
1034 cn
us
Coloring A Border
Coloring A Border
medium
medium

1104
1035 cn
us
Uncrossed Lines
Uncrossed Lines
medium
medium

1105
1036 cn
us
Escape a Large Maze
Escape a Large Maze
hard
hard

1106
1151 cn
us
Minimum Swaps to Group All 1's Together
Minimum Swaps to Group All 1's Together
medium
medium
🔒
🔒
1107
1152 cn
us
Analyze User Website Visit Pattern
Analyze User Website Visit Pattern
medium
medium
🔒
🔒
1108
1039 cn
us
Minimum Score Triangulation of Polygon
Minimum Score Triangulation of Polygon
medium
medium

1111
1160 cn
us
Find Words That Can Be Formed by Characters
Find Words That Can Be Formed by Characters
easy
easy

1112
1040 cn
us
Moving Stones Until Consecutive II
Moving Stones Until Consecutive II
medium
medium

1113
1038 cn
us
Binary Search Tree to Greater Sum Tree
Binary Search Tree to Greater Sum Tree
medium
medium

1114
1037 cn
us
Valid Boomerang
Valid Boomerang
easy
easy

1115
1161 cn
us
Maximum Level Sum of a Binary Tree
Maximum Level Sum of a Binary Tree
medium
medium

1116
1162 cn
us
As Far from Land as Possible
As Far from Land as Possible
medium
medium

1117
1121 cn
us
Divide Array Into Increasing Sequences
Divide Array Into Increasing Sequences
hard
hard
🔒
🔒
1118
1041 cn
us
Robot Bounded In Circle
Robot Bounded In Circle
medium
medium

1119
1042 cn
us
Flower Planting With No Adjacent
Flower Planting With No Adjacent
easy
easy

1120
1043 cn
us
Partition Array for Maximum Sum
Partition Array for Maximum Sum
medium
medium

1121
1044 cn
us
Longest Duplicate Substring
Longest Duplicate Substring
hard
hard

1122
1165 cn
us
Single-Row Keyboard
Single-Row Keyboard
easy
easy
🔒
🔒
1123
1153 cn
us
String Transforms Into Another String
String Transforms Into Another String
hard
hard
🔒
🔒
1124
1166 cn
us
Design File System
Design File System
medium
medium
🔒
🔒
1125
1167 cn
us
Minimum Cost to Connect Sticks
Minimum Cost to Connect Sticks
medium
medium
🔒
🔒
1126
1046 cn
us
Last Stone Weight
Last Stone Weight
easy
easy

1127
1047 cn
us
Remove All Adjacent Duplicates In String
Remove All Adjacent Duplicates In String
easy
easy

1128
1048 cn
us
Longest String Chain
Longest String Chain
medium
medium

1129
1049 cn
us
Last Stone Weight II
Last Stone Weight II
medium
medium

1130
1180 cn
us
Count Substrings with Only One Distinct Letter
Count Substrings with Only One Distinct Letter
easy
easy
🔒
🔒
1131
1181 cn
us
Before and After Puzzle
Before and After Puzzle
medium
medium
🔒
🔒
1132
1163 cn
us
Last Substring in Lexicographical Order
Last Substring in Lexicographical Order
hard
hard

1133
1182 cn
us
Shortest Distance to Target Color
Shortest Distance to Target Color
medium
medium
🔒
🔒
1134
1045 cn
us
Customers Who Bought All Products
Customers Who Bought All Products
medium
medium
🔒
🔒
1135
1050 cn
us
Actors and Directors Who Cooperated At Least Three Times
Actors and Directors Who Cooperated At Least Three Times
easy
easy
🔒
🔒
1136
1051 cn
us
Height Checker
Height Checker
easy
easy

1137
1052 cn
us
Grumpy Bookstore Owner
Grumpy Bookstore Owner
medium
medium

1138
1053 cn
us
Previous Permutation With One Swap
Previous Permutation With One Swap
medium
medium

1139
1054 cn
us
Distant Barcodes
Distant Barcodes
medium
medium

1140
1196 cn
us
How Many Apples Can You Put into the Basket
How Many Apples Can You Put into the Basket
easy
easy
🔒
🔒
1141
1197 cn
us
Minimum Knight Moves
Minimum Knight Moves
medium
medium
🔒
🔒
1142
1198 cn
us
Find Smallest Common Element in All Rows
Find Smallest Common Element in All Rows
medium
medium
🔒
🔒
1143
1168 cn
us
Optimize Water Distribution in a Village
Optimize Water Distribution in a Village
hard
hard
🔒
🔒
1144
1074 cn
us
Number of Submatrices That Sum to Target
Number of Submatrices That Sum to Target
hard
hard

1145
1071 cn
us
Greatest Common Divisor of Strings
Greatest Common Divisor of Strings
easy
easy

1146
1072 cn
us
Flip Columns For Maximum Number of Equal Rows
Flip Columns For Maximum Number of Equal Rows
medium
medium

1147
1073 cn
us
Adding Two Negabinary Numbers
Adding Two Negabinary Numbers
medium
medium

1148
1213 cn
us
Intersection of Three Sorted Arrays
Intersection of Three Sorted Arrays
easy
easy
🔒
🔒
1149
1214 cn
us
Two Sum BSTs
Two Sum BSTs
medium
medium
🔒
🔒
1150
1215 cn
us
Stepping Numbers
Stepping Numbers
medium
medium
🔒
🔒
1151
1183 cn
us
Maximum Number of Ones
Maximum Number of Ones
hard
hard
🔒
🔒
1152
1068 cn
us
Product Sales Analysis I
Product Sales Analysis I
easy
easy
🔒
🔒
1153
1069 cn
us
Product Sales Analysis II
Product Sales Analysis II
easy
easy
🔒
🔒
1154
1070 cn
us
Product Sales Analysis III
Product Sales Analysis III
medium
medium
🔒
🔒
1155
1078 cn
us
Occurrences After Bigram
Occurrences After Bigram
easy
easy

1156
1080 cn
us
Insufficient Nodes in Root to Leaf Paths
Insufficient Nodes in Root to Leaf Paths
medium
medium

1157
1081 cn
us
Smallest Subsequence of Distinct Characters
Smallest Subsequence of Distinct Characters
medium
medium

1159
1079 cn
us
Letter Tile Possibilities
Letter Tile Possibilities
medium
medium

1160
1075 cn
us
Project Employees I
Project Employees I
easy
easy
🔒
🔒
1161
1076 cn
us
Project Employees II
Project Employees II
easy
easy
🔒
🔒
1162
1077 cn
us
Project Employees III
Project Employees III
medium
medium
🔒
🔒
1163
1228 cn
us
Missing Number In Arithmetic Progression
Missing Number In Arithmetic Progression
easy
easy
🔒
🔒
1164
1229 cn
us
Meeting Scheduler
Meeting Scheduler
medium
medium
🔒
🔒
1165
1230 cn
us
Toss Strange Coins
Toss Strange Coins
medium
medium
🔒
🔒
1166
1199 cn
us
Minimum Time to Build Blocks
Minimum Time to Build Blocks
hard
hard
🔒
🔒
1167
1089 cn
us
Duplicate Zeros
Duplicate Zeros
easy
easy

1168
1090 cn
us
Largest Values From Labels
Largest Values From Labels
medium
medium

1169
1092 cn
us
Shortest Common Supersequence
Shortest Common Supersequence
hard
hard

1170
1091 cn
us
Shortest Path in Binary Matrix
Shortest Path in Binary Matrix
medium
medium

1171
1082 cn
us
Sales Analysis I
Sales Analysis I
easy
easy
🔒
🔒
1172
1083 cn
us
Sales Analysis II
Sales Analysis II
easy
easy
🔒
🔒
1173
1084 cn
us
Sales Analysis III
Sales Analysis III
easy
easy
🔒
🔒
1174
1243 cn
us
Array Transformation
Array Transformation
easy
easy
🔒
🔒
1175
1244 cn
us
Design A Leaderboard
Design A Leaderboard
medium
medium
🔒
🔒
1176
1245 cn
us
Tree Diameter
Tree Diameter
medium
medium
🔒
🔒
1177
1216 cn
us
Valid Palindrome III
Valid Palindrome III
hard
hard
🔒
🔒
1178
511 cn
us
Game Play Analysis I
Game Play Analysis I
easy
easy
🔒
🔒
1179
512 cn
us
Game Play Analysis II
Game Play Analysis II
easy
easy
🔒
🔒
1180
534 cn
us
Game Play Analysis III
Game Play Analysis III
medium
medium
🔒
🔒
1181
550 cn
us
Game Play Analysis IV
Game Play Analysis IV
medium
medium
🔒
🔒
1182
1093 cn
us
Statistics from a Large Sample
Statistics from a Large Sample
medium
medium

1183
1094 cn
us
Car Pooling
Car Pooling
medium
medium

1184
1095 cn
us
Find in Mountain Array
Find in Mountain Array
hard
hard

1185
1117 cn
us
Building H2O
Building H2O
medium
medium

1186
1115 cn
us
Print FooBar Alternately
Print FooBar Alternately
medium
medium

1187
1096 cn
us
Brace Expansion II
Brace Expansion II
hard
hard

1188
1256 cn
us
Encode Number
Encode Number
medium
medium
🔒
🔒
1189
1257 cn
us
Smallest Common Region
Smallest Common Region
medium
medium
🔒
🔒
1190
1258 cn
us
Synonymous Sentences
Synonymous Sentences
medium
medium
🔒
🔒
1191
1231 cn
us
Divide Chocolate
Divide Chocolate
hard
hard
🔒
🔒
1192
1097 cn
us
Game Play Analysis V
Game Play Analysis V
hard
hard
🔒
🔒
1193
1104 cn
us
Path In Zigzag Labelled Binary Tree
Path In Zigzag Labelled Binary Tree
medium
medium

1194
1103 cn
us
Distribute Candies to People
Distribute Candies to People
easy
easy

1195
1105 cn
us
Filling Bookcase Shelves
Filling Bookcase Shelves
medium
medium

1196
1106 cn
us
Parsing A Boolean Expression
Parsing A Boolean Expression
hard
hard

1197
1098 cn
us
Unpopular Books
Unpopular Books
medium
medium
🔒
🔒
1198
1271 cn
us
Hexspeak
Hexspeak
easy
easy
🔒
🔒
1199
1272 cn
us
Remove Interval
Remove Interval
medium
medium
🔒
🔒
1200
1273 cn
us
Delete Tree Nodes
Delete Tree Nodes
medium
medium
🔒
🔒
1201
1246 cn
us
Palindrome Removal
Palindrome Removal
hard
hard
🔒
🔒
1202
1114 cn
us
Print in Order
Print in Order
easy
easy

1203
1107 cn
us
New Users Daily Count
New Users Daily Count
medium
medium
🔒
🔒
1204
1108 cn
us
Defanging an IP Address
Defanging an IP Address
easy
easy

1205
1109 cn
us
Corporate Flight Bookings
Corporate Flight Bookings
medium
medium

1206
1110 cn
us
Delete Nodes And Return Forest
Delete Nodes And Return Forest
medium
medium

1207
1111 cn
us
Maximum Nesting Depth of Two Valid Parentheses Strings
Maximum Nesting Depth of Two Valid Parentheses Strings
medium
medium

1208
1188 cn
us
Design Bounded Blocking Queue
Design Bounded Blocking Queue
medium
medium
🔒
🔒
1209
1286 cn
us
Iterator for Combination
Iterator for Combination
medium
medium

1211
1291 cn
us
Sequential Digits
Sequential Digits
medium
medium

1212
1259 cn
us
Handshakes That Don't Cross
Handshakes That Don't Cross
hard
hard
🔒
🔒
1213
1112 cn
us
Highest Grade For Each Student
Highest Grade For Each Student
medium
medium
🔒
🔒
1214
1113 cn
us
Reported Posts
Reported Posts
easy
easy
🔒
🔒
1215
1116 cn
us
Print Zero Even Odd
Print Zero Even Odd
medium
medium

1216
1122 cn
us
Relative Sort Array
Relative Sort Array
easy
easy

1217
1123 cn
us
Lowest Common Ancestor of Deepest Leaves
Lowest Common Ancestor of Deepest Leaves
medium
medium

1218
1124 cn
us
Longest Well-Performing Interval
Longest Well-Performing Interval
medium
medium

1219
1125 cn
us
Smallest Sufficient Team
Smallest Sufficient Team
hard
hard

1220
1287 cn
us
Element Appearing More Than 25% In Sorted Array
Element Appearing More Than 25% In Sorted Array
easy
easy

1221
1288 cn
us
Remove Covered Intervals
Remove Covered Intervals
medium
medium

1222
1289 cn
us
Minimum Falling Path Sum II
Minimum Falling Path Sum II
hard
hard

1224
1126 cn
us
Active Businesses
Active Businesses
medium
medium
🔒
🔒
1225
1127 cn
us
User Purchase Platform
User Purchase Platform
hard
hard
🔒
🔒
1226
1128 cn
us
Number of Equivalent Domino Pairs
Number of Equivalent Domino Pairs
easy
easy

1227
1130 cn
us
Minimum Cost Tree From Leaf Values
Minimum Cost Tree From Leaf Values
medium
medium

1228
1129 cn
us
Shortest Path with Alternating Colors
Shortest Path with Alternating Colors
medium
medium

1229
1131 cn
us
Maximum of Absolute Value Expression
Maximum of Absolute Value Expression
medium
medium

1230
1299 cn
us
Replace Elements with Greatest Element on Right Side
Replace Elements with Greatest Element on Right Side
easy
easy

1231
1300 cn
us
Sum of Mutated Array Closest to Target
Sum of Mutated Array Closest to Target
medium
medium

1232
1274 cn
us
Number of Ships in a Rectangle
Number of Ships in a Rectangle
hard
hard
🔒
🔒
1233
1301 cn
us
Number of Paths with Max Score
Number of Paths with Max Score
hard
hard

1234
1137 cn
us
N-th Tribonacci Number
N-th Tribonacci Number
easy
easy

1236
1132 cn
us
Reported Posts II
Reported Posts II
medium
medium
🔒
🔒
1237
1138 cn
us
Alphabet Board Path
Alphabet Board Path
medium
medium

1238
1139 cn
us
Largest 1-Bordered Square
Largest 1-Bordered Square
medium
medium

1239
1140 cn
us
Stone Game II
Stone Game II
medium
medium

1240
1313 cn
us
Decompress Run-Length Encoded List
Decompress Run-Length Encoded List
easy
easy

1241
1314 cn
us
Matrix Block Sum
Matrix Block Sum
medium
medium

1242
1315 cn
us
Sum of Nodes with Even-Valued Grandparent
Sum of Nodes with Even-Valued Grandparent
medium
medium

1243
1316 cn
us
Distinct Echo Substrings
Distinct Echo Substrings
hard
hard

1244
1141 cn
us
User Activity for the Past 30 Days I
User Activity for the Past 30 Days I
easy
easy
🔒
🔒
1245
1142 cn
us
User Activity for the Past 30 Days II
User Activity for the Past 30 Days II
easy
easy
🔒
🔒
1246
1144 cn
us
Decrease Elements To Make Array Zigzag
Decrease Elements To Make Array Zigzag
medium
medium

1247
1145 cn
us
Binary Tree Coloring Game
Binary Tree Coloring Game
medium
medium

1248
1146 cn
us
Snapshot Array
Snapshot Array
medium
medium

1249
1143 cn
us
Longest Common Subsequence
Longest Common Subsequence
medium
medium

1250
1147 cn
us
Longest Chunked Palindrome Decomposition
Longest Chunked Palindrome Decomposition
hard
hard

1251
1328 cn
us
Break a Palindrome
Break a Palindrome
medium
medium

1252
1329 cn
us
Sort the Matrix Diagonally
Sort the Matrix Diagonally
medium
medium

1253
1302 cn
us
Deepest Leaves Sum
Deepest Leaves Sum
medium
medium

1254
1330 cn
us
Reverse Subarray To Maximize Array Value
Reverse Subarray To Maximize Array Value
hard
hard

1255
1331 cn
us
Rank Transform of an Array
Rank Transform of an Array
easy
easy

1256
1148 cn
us
Article Views I
Article Views I
easy
easy
🔒
🔒
1258
1149 cn
us
Article Views II
Article Views II
medium
medium
🔒
🔒
1259
1154 cn
us
Day of the Year
Day of the Year
easy
easy

1260
1156 cn
us
Swap For Longest Repeated Character Substring
Swap For Longest Repeated Character Substring
medium
medium

1261
1157 cn
us
Online Majority Element In Subarray
Online Majority Element In Subarray
hard
hard

1262
1155 cn
us
Number of Dice Rolls With Target Sum
Number of Dice Rolls With Target Sum
medium
medium

1263
1171 cn
us
Remove Zero Sum Consecutive Nodes from Linked List
Remove Zero Sum Consecutive Nodes from Linked List
medium
medium

1267
1158 cn
us
Market Analysis I
Market Analysis I
medium
medium
🔒
🔒
1268
1159 cn
us
Market Analysis II
Market Analysis II
hard
hard
🔒
🔒
1269
1172 cn
us
Dinner Plate Stacks
Dinner Plate Stacks
hard
hard

1270
1236 cn
us
Web Crawler
Web Crawler
medium
medium
🔒
🔒
1271
1169 cn
us
Invalid Transactions
Invalid Transactions
medium
medium

1272
1170 cn
us
Compare Strings by Frequency of the Smallest Character
Compare Strings by Frequency of the Smallest Character
easy
easy

1273
1360 cn
us
Number of Days Between Two Dates
Number of Days Between Two Dates
easy
easy

1274
1361 cn
us
Validate Binary Tree Nodes
Validate Binary Tree Nodes
medium
medium

1275
1362 cn
us
Closest Divisors
Closest Divisors
medium
medium

1276
1363 cn
us
Largest Multiple of Three
Largest Multiple of Three
hard
hard

1277
1164 cn
us
Product Price at a Given Date
Product Price at a Given Date
medium
medium
🔒
🔒
1278
1175 cn
us
Prime Arrangements
Prime Arrangements
easy
easy

1279
1176 cn
us
Diet Plan Performance
Diet Plan Performance
easy
easy
🔒
🔒
1280
1177 cn
us
Can Make Palindrome from Substring
Can Make Palindrome from Substring
medium
medium

1281
1178 cn
us
Number of Valid Words for Each Puzzle
Number of Valid Words for Each Puzzle
hard
hard

1282
1390 cn
us
Four Divisors
Four Divisors
medium
medium

1284
1382 cn
us
Balance a Binary Search Tree
Balance a Binary Search Tree
medium
medium

1285
1425 cn
us
Constrained Subsequence Sum
Constrained Subsequence Sum
hard
hard

1286
1184 cn
us
Distance Between Bus Stops
Distance Between Bus Stops
easy
easy

1287
1186 cn
us
Maximum Subarray Sum with One Deletion
Maximum Subarray Sum with One Deletion
medium
medium

1288
1185 cn
us
Day of the Week
Day of the Week
easy
easy

1289
1187 cn
us
Make Array Strictly Increasing
Make Array Strictly Increasing
hard
hard

1290
1173 cn
us
Immediate Food Delivery I
Immediate Food Delivery I
easy
easy
🔒
🔒
1291
1174 cn
us
Immediate Food Delivery II
Immediate Food Delivery II
medium
medium
🔒
🔒
1292
1483 cn
us
Kth Ancestor of a Tree Node
Kth Ancestor of a Tree Node
hard
hard

1296
1189 cn
us
Maximum Number of Balloons
Maximum Number of Balloons
easy
easy

1297
1190 cn
us
Reverse Substrings Between Each Pair of Parentheses
Reverse Substrings Between Each Pair of Parentheses
medium
medium

1298
1191 cn
us
K-Concatenation Maximum Sum
K-Concatenation Maximum Sum
medium
medium

1299
1192 cn
us
Critical Connections in a Network
Critical Connections in a Network
hard
hard

1300
1179 cn
us
Reformat Department Table
Reformat Department Table
easy
easy

1301
1405 cn
us
Longest Happy String
Longest Happy String
medium
medium

1304
1200 cn
us
Minimum Absolute Difference
Minimum Absolute Difference
easy
easy

1306
1201 cn
us
Ugly Number III
Ugly Number III
medium
medium

1307
1202 cn
us
Smallest String With Swaps
Smallest String With Swaps
medium
medium

1308
1203 cn
us
Sort Items by Groups Respecting Dependencies
Sort Items by Groups Respecting Dependencies
hard
hard

1309
1195 cn
us
Fizz Buzz Multithreaded
Fizz Buzz Multithreaded
medium
medium

1316
1193 cn
us
Monthly Transactions I
Monthly Transactions I
medium
medium
🔒
🔒
1317
1194 cn
us
Tournament Winners
Tournament Winners
hard
hard
🔒
🔒
1318
1207 cn
us
Unique Number of Occurrences
Unique Number of Occurrences
easy
easy

1319
1209 cn
us
Remove All Adjacent Duplicates in String II
Remove All Adjacent Duplicates in String II
medium
medium

1320
1208 cn
us
Get Equal Substrings Within Budget
Get Equal Substrings Within Budget
medium
medium

1321
1210 cn
us
Minimum Moves to Reach Target with Rotations
Minimum Moves to Reach Target with Rotations
hard
hard

1322
1204 cn
us
Last Person to Fit in the Elevator
Last Person to Fit in the Elevator
medium
medium
🔒
🔒
1327
1205 cn
us
Monthly Transactions II
Monthly Transactions II
medium
medium
🔒
🔒
1328
1217 cn
us
Play with Chips
Play with Chips
easy
easy

1329
1218 cn
us
Longest Arithmetic Subsequence of Given Difference
Longest Arithmetic Subsequence of Given Difference
medium
medium

1330
1219 cn
us
Path with Maximum Gold
Path with Maximum Gold
medium
medium

1331
1220 cn
us
Count Vowels Permutation
Count Vowels Permutation
hard
hard

1332
1206 cn
us
Design Skiplist
Design Skiplist
hard
hard

1337
1211 cn
us
Queries Quality and Percentage
Queries Quality and Percentage
easy
easy
🔒
🔒
1338
1212 cn
us
Team Scores in Football Tournament
Team Scores in Football Tournament
medium
medium
🔒
🔒
1339
1226 cn
us
The Dining Philosophers
The Dining Philosophers
medium
medium

1340
1221 cn
us
Split a String in Balanced Strings
Split a String in Balanced Strings
easy
easy

1341
1222 cn
us
Queens That Can Attack the King
Queens That Can Attack the King
medium
medium

1342
1223 cn
us
Dice Roll Simulation
Dice Roll Simulation
medium
medium

1343
1224 cn
us
Maximum Equal Frequency
Maximum Equal Frequency
hard
hard

1344
1427 cn
us
Perform String Shifts
Perform String Shifts
easy
easy
🔒
🔒
1345
1232 cn
us
Check If It Is a Straight Line
Check If It Is a Straight Line
easy
easy

1349
1233 cn
us
Remove Sub-Folders from the Filesystem
Remove Sub-Folders from the Filesystem
medium
medium

1350
1234 cn
us
Replace the Substring for Balanced String
Replace the Substring for Balanced String
medium
medium

1351
1235 cn
us
Maximum Profit in Job Scheduling
Maximum Profit in Job Scheduling
hard
hard

1352
1225 cn
us
Report Contiguous Dates
Report Contiguous Dates
hard
hard
🔒
🔒
1357
1237 cn
us
Find Positive Integer Solution for a Given Equation
Find Positive Integer Solution for a Given Equation
easy
easy

1358
1238 cn
us
Circular Permutation in Binary Representation
Circular Permutation in Binary Representation
medium
medium

1359
1239 cn
us
Maximum Length of a Concatenated String with Unique Characters
Maximum Length of a Concatenated String with Unique Characters
medium
medium

1360
1240 cn
us
Tiling a Rectangle with the Fewest Squares
Tiling a Rectangle with the Fewest Squares
hard
hard

1361
1227 cn
us
Airplane Seat Assignment Probability
Airplane Seat Assignment Probability
medium
medium

1362
1429 cn
us
First Unique Number
First Unique Number
medium
medium
🔒
🔒
1366
1242 cn
us
Web Crawler Multithreaded
Web Crawler Multithreaded
medium
medium
🔒
🔒
1368
1247 cn
us
Minimum Swaps to Make Strings Equal
Minimum Swaps to Make Strings Equal
medium
medium

1369
1248 cn
us
Count Number of Nice Subarrays
Count Number of Nice Subarrays
medium
medium

1370
1249 cn
us
Minimum Remove to Make Valid Parentheses
Minimum Remove to Make Valid Parentheses
medium
medium

1371
1250 cn
us
Check If It Is a Good Array
Check If It Is a Good Array
hard
hard

1372
1428 cn
us
Leftmost Column with at Least a One
Leftmost Column with at Least a One
medium
medium
🔒
🔒
1374
1241 cn
us
Number of Comments per Post
Number of Comments per Post
easy
easy
🔒
🔒
1377
1252 cn
us
Cells with Odd Values in a Matrix
Cells with Odd Values in a Matrix
easy
easy

1378
1253 cn
us
Reconstruct a 2-Row Binary Matrix
Reconstruct a 2-Row Binary Matrix
medium
medium

1379
1254 cn
us
Number of Closed Islands
Number of Closed Islands
medium
medium

1380
1255 cn
us
Maximum Score Words Formed by Letters
Maximum Score Words Formed by Letters
hard
hard

1381
1260 cn
us
Shift 2D Grid
Shift 2D Grid
easy
easy

1386
1261 cn
us
Find Elements in a Contaminated Binary Tree
Find Elements in a Contaminated Binary Tree
medium
medium

1387
1262 cn
us
Greatest Sum Divisible by Three
Greatest Sum Divisible by Three
medium
medium

1388
1263 cn
us
Minimum Moves to Move a Box to Their Target Location
Minimum Moves to Move a Box to Their Target Location
hard
hard

1389
1251 cn
us
Average Selling Price
Average Selling Price
easy
easy
🔒
🔒
1390
1426 cn
us
Counting Elements
Counting Elements
easy
easy
🔒
🔒
1391
1266 cn
us
Minimum Time Visiting All Points
Minimum Time Visiting All Points
easy
easy

1395
1267 cn
us
Count Servers that Communicate
Count Servers that Communicate
medium
medium

1396
1268 cn
us
Search Suggestions System
Search Suggestions System
medium
medium

1397
1269 cn
us
Number of Ways to Stay in the Same Place After Some Steps
Number of Ways to Stay in the Same Place After Some Steps
hard
hard

1398
1264 cn
us
Page Recommendations
Page Recommendations
medium
medium
🔒
🔒
1399
1275 cn
us
Find Winner on a Tic Tac Toe Game
Find Winner on a Tic Tac Toe Game
easy
easy

1400
1276 cn
us
Number of Burgers with No Waste of Ingredients
Number of Burgers with No Waste of Ingredients
medium
medium

1401
1277 cn
us
Count Square Submatrices with All Ones
Count Square Submatrices with All Ones
medium
medium

1402
1278 cn
us
Palindrome Partitioning III
Palindrome Partitioning III
hard
hard

1403
1265 cn
us
Print Immutable Linked List in Reverse
Print Immutable Linked List in Reverse
medium
medium
🔒
🔒
1404
1270 cn
us
All People Report to the Given Manager
All People Report to the Given Manager
medium
medium
🔒
🔒
1405
1281 cn
us
Subtract the Product and Sum of Digits of an Integer
Subtract the Product and Sum of Digits of an Integer
easy
easy

1406
1282 cn
us
Group the People Given the Group Size They Belong To
Group the People Given the Group Size They Belong To
medium
medium

1407
1283 cn
us
Find the Smallest Divisor Given a Threshold
Find the Smallest Divisor Given a Threshold
medium
medium

1408
1284 cn
us
Minimum Number of Flips to Convert Binary Matrix to Zero Matrix
Minimum Number of Flips to Convert Binary Matrix to Zero Matrix
hard
hard

1409
1279 cn
us
Traffic Light Controlled Intersection
Traffic Light Controlled Intersection
easy
easy
🔒
🔒
1410
1290 cn
us
Convert Binary Number in a Linked List to Integer
Convert Binary Number in a Linked List to Integer
easy
easy

1411
1292 cn
us
Maximum Side Length of a Square with Sum Less than or Equal to Threshold
Maximum Side Length of a Square with Sum Less than or Equal to Threshold
medium
medium

1413
1293 cn
us
Shortest Path in a Grid with Obstacles Elimination
Shortest Path in a Grid with Obstacles Elimination
hard
hard

1414
1280 cn
us
Students and Examinations
Students and Examinations
easy
easy
🔒
🔒
1415
1285 cn
us
Find the Start and End Number of Continuous Ranges
Find the Start and End Number of Continuous Ranges
medium
medium
🔒
🔒
1420
1295 cn
us
Find Numbers with Even Number of Digits
Find Numbers with Even Number of Digits
easy
easy

1421
1296 cn
us
Divide Array in Sets of K Consecutive Numbers
Divide Array in Sets of K Consecutive Numbers
medium
medium

1422
1297 cn
us
Maximum Number of Occurrences of a Substring
Maximum Number of Occurrences of a Substring
medium
medium

1423
1298 cn
us
Maximum Candies You Can Get from Boxes
Maximum Candies You Can Get from Boxes
hard
hard

1424
1294 cn
us
Weather Type in Each Country
Weather Type in Each Country
easy
easy
🔒
🔒
1425
1304 cn
us
Find N Unique Integers Sum up to Zero
Find N Unique Integers Sum up to Zero
easy
easy

1426
1305 cn
us
All Elements in Two Binary Search Trees
All Elements in Two Binary Search Trees
medium
medium

1427
1306 cn
us
Jump Game III
Jump Game III
medium
medium

1428
1307 cn
us
Verbal Arithmetic Puzzle
Verbal Arithmetic Puzzle
hard
hard

1429
1430 cn
us
Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree
Check If a String Is a Valid Sequence from Root to Leaves Path in a Binary Tree
medium
medium
🔒
🔒
1432
1309 cn
us
Decrypt String from Alphabet to Integer Mapping
Decrypt String from Alphabet to Integer Mapping
easy
easy

1434
1310 cn
us
XOR Queries of a Subarray
XOR Queries of a Subarray
medium
medium

1435
1311 cn
us
Get Watched Videos by Your Friends
Get Watched Videos by Your Friends
medium
medium

1436
1312 cn
us
Minimum Insertion Steps to Make a String Palindrome
Minimum Insertion Steps to Make a String Palindrome
hard
hard

1437
1303 cn
us
Find the Team Size
Find the Team Size
easy
easy
🔒
🔒
1438
1308 cn
us
Running Total for Different Genders
Running Total for Different Genders
medium
medium
🔒
🔒
1439
1317 cn
us
Convert Integer to the Sum of Two No-Zero Integers
Convert Integer to the Sum of Two No-Zero Integers
easy
easy

1440
1318 cn
us
Minimum Flips to Make a OR b Equal to c
Minimum Flips to Make a OR b Equal to c
medium
medium

1441
1319 cn
us
Number of Operations to Make Network Connected
Number of Operations to Make Network Connected
medium
medium

1442
1320 cn
us
Minimum Distance to Type a Word Using Two Fingers
Minimum Distance to Type a Word Using Two Fingers
hard
hard

1443
1342 cn
us
Number of Steps to Reduce a Number to Zero
Number of Steps to Reduce a Number to Zero
easy
easy

1444
1343 cn
us
Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold
Number of Sub-arrays of Size K and Average Greater than or Equal to Threshold
medium
medium

1445
1344 cn
us
Angle Between Hands of a Clock
Angle Between Hands of a Clock
medium
medium

1446
1345 cn
us
Jump Game IV
Jump Game IV
hard
hard

1447
1323 cn
us
Maximum 69 Number
Maximum 69 Number
easy
easy

1448
1324 cn
us
Print Words Vertically
Print Words Vertically
medium
medium

1449
1325 cn
us
Delete Leaves With a Given Value
Delete Leaves With a Given Value
medium
medium

1450
1326 cn
us
Minimum Number of Taps to Open to Water a Garden
Minimum Number of Taps to Open to Water a Garden
hard
hard

1451
1321 cn
us
Restaurant Growth
Restaurant Growth
medium
medium
🔒
🔒
1452
1322 cn
us
Ads Performance
Ads Performance
easy
easy
🔒
🔒
1453
1332 cn
us
Remove Palindromic Subsequences
Remove Palindromic Subsequences
easy
easy

1454
1333 cn
us
Filter Restaurants by Vegan-Friendly, Price and Distance
Filter Restaurants by Vegan-Friendly, Price and Distance
medium
medium

1455
1334 cn
us
Find the City With the Smallest Number of Neighbors at a Threshold Distance
Find the City With the Smallest Number of Neighbors at a Threshold Distance
medium
medium

1456
1335 cn
us
Minimum Difficulty of a Job Schedule
Minimum Difficulty of a Job Schedule
hard
hard

1457
1356 cn
us
Sort Integers by The Number of 1 Bits
Sort Integers by The Number of 1 Bits
easy
easy

1458
1357 cn
us
Apply Discount Every n Orders
Apply Discount Every n Orders
medium
medium

1459
1358 cn
us
Number of Substrings Containing All Three Characters
Number of Substrings Containing All Three Characters
medium
medium

1460
1359 cn
us
Count All Valid Pickup and Delivery Options
Count All Valid Pickup and Delivery Options
hard
hard

1461
1327 cn
us
List the Products Ordered in a Period
List the Products Ordered in a Period
easy
easy
🔒
🔒
1462
1337 cn
us
The K Weakest Rows in a Matrix
The K Weakest Rows in a Matrix
easy
easy

1463
1338 cn
us
Reduce Array Size to The Half
Reduce Array Size to The Half
medium
medium

1464
1339 cn
us
Maximum Product of Splitted Binary Tree
Maximum Product of Splitted Binary Tree
medium
medium

1465
1340 cn
us
Jump Game V
Jump Game V
hard
hard

1466
1336 cn
us
Number of Transactions per Visit
Number of Transactions per Visit
hard
hard
🔒
🔒
1467
1346 cn
us
Check If N and Its Double Exist
Check If N and Its Double Exist
easy
easy

1468
1347 cn
us
Minimum Number of Steps to Make Two Strings Anagram
Minimum Number of Steps to Make Two Strings Anagram
medium
medium

1469
1348 cn
us
Tweet Counts Per Frequency
Tweet Counts Per Frequency
medium
medium

1470
1349 cn
us
Maximum Students Taking Exam
Maximum Students Taking Exam
hard
hard

1471
1370 cn
us
Increasing Decreasing String
Increasing Decreasing String
easy
easy

1472
1371 cn
us
Find the Longest Substring Containing Vowels in Even Counts
Find the Longest Substring Containing Vowels in Even Counts
medium
medium

1473
1372 cn
us
Longest ZigZag Path in a Binary Tree
Longest ZigZag Path in a Binary Tree
medium
medium

1474
1373 cn
us
Maximum Sum BST in Binary Tree
Maximum Sum BST in Binary Tree
hard
hard

1475
1351 cn
us
Count Negative Numbers in a Sorted Matrix
Count Negative Numbers in a Sorted Matrix
easy
easy

1476
1352 cn
us
Product of the Last K Numbers
Product of the Last K Numbers
medium
medium

1477
1353 cn
us
Maximum Number of Events That Can Be Attended
Maximum Number of Events That Can Be Attended
medium
medium

1478
1354 cn
us
Construct Target Array With Multiple Sums
Construct Target Array With Multiple Sums
hard
hard

1479
1341 cn
us
Movie Rating
Movie Rating
medium
medium
🔒
🔒
1480
1350 cn
us
Students With Invalid Departments
Students With Invalid Departments
easy
easy
🔒
🔒
1481
1365 cn
us
How Many Numbers Are Smaller Than the Current Number
How Many Numbers Are Smaller Than the Current Number
easy
easy

1482
1366 cn
us
Rank Teams by Votes
Rank Teams by Votes
medium
medium

1483
1367 cn
us
Linked List in Binary Tree
Linked List in Binary Tree
medium
medium

1484
1368 cn
us
Minimum Cost to Make at Least One Valid Path in a Grid
Minimum Cost to Make at Least One Valid Path in a Grid
hard
hard

1485
1385 cn
us
Find the Distance Value Between Two Arrays
Find the Distance Value Between Two Arrays
easy
easy

1486
1386 cn
us
Cinema Seat Allocation
Cinema Seat Allocation
medium
medium

1487
1387 cn
us
Sort Integers by The Power Value
Sort Integers by The Power Value
medium
medium

1488
1388 cn
us
Pizza With 3n Slices
Pizza With 3n Slices
hard
hard

1489
1374 cn
us
Generate a String With Characters That Have Odd Counts
Generate a String With Characters That Have Odd Counts
easy
easy

1490
1375 cn
us
Bulb Switcher III
Bulb Switcher III
medium
medium

1491
1376 cn
us
Time Needed to Inform All Employees
Time Needed to Inform All Employees
medium
medium

1492
1377 cn
us
Frog Position After T Seconds
Frog Position After T Seconds
hard
hard

1493
1355 cn
us
Activity Participants
Activity Participants
medium
medium
🔒
🔒
1494
1364 cn
us
Number of Trusted Contacts of a Customer
Number of Trusted Contacts of a Customer
medium
medium
🔒
🔒
1495
1380 cn
us
Lucky Numbers in a Matrix
Lucky Numbers in a Matrix
easy
easy

1496
1381 cn
us
Design a Stack With Increment Operation
Design a Stack With Increment Operation
medium
medium

1497
1379 cn
us
Find a Corresponding Node of a Binary Tree in a Clone of That Tree
Find a Corresponding Node of a Binary Tree in a Clone of That Tree
medium
medium

1498
1383 cn
us
Maximum Performance of a Team
Maximum Performance of a Team
hard
hard

1499
1399 cn
us
Count Largest Group
Count Largest Group
easy
easy

1500
1401 cn
us
Circle and Rectangle Overlapping
Circle and Rectangle Overlapping
medium
medium

1501
1400 cn
us
Construct K Palindrome Strings
Construct K Palindrome Strings
medium
medium

1502
1402 cn
us
Reducing Dishes
Reducing Dishes
hard
hard

1503
1369 cn
us
Get the Second Most Recent Activity
Get the Second Most Recent Activity
hard
hard
🔒
🔒
1504
1389 cn
us
Create Target Array in the Given Order
Create Target Array in the Given Order
easy
easy

1505
1391 cn
us
Check if There is a Valid Path in a Grid
Check if There is a Valid Path in a Grid
medium
medium

1507
1392 cn
us
Longest Happy Prefix
Longest Happy Prefix
hard
hard

1508
1378 cn
us
Replace Employee ID With The Unique Identifier
Replace Employee ID With The Unique Identifier
easy
easy
🔒
🔒
1509
1394 cn
us
Find Lucky Integer in an Array
Find Lucky Integer in an Array
easy
easy

1510
1395 cn
us
Count Number of Teams
Count Number of Teams
medium
medium

1511
1396 cn
us
Design Underground System
Design Underground System
medium
medium

1512
1397 cn
us
Find All Good Strings
Find All Good Strings
hard
hard

1513
1413 cn
us
Minimum Value to Get Positive Step by Step Sum
Minimum Value to Get Positive Step by Step Sum
easy
easy

1514
1414 cn
us
Find the Minimum Number of Fibonacci Numbers Whose Sum Is K
Find the Minimum Number of Fibonacci Numbers Whose Sum Is K
medium
medium

1515
1415 cn
us
The k-th Lexicographical String of All Happy Strings of Length n
The k-th Lexicographical String of All Happy Strings of Length n
medium
medium

1516
1416 cn
us
Restore The Array
Restore The Array
hard
hard

1517
1384 cn
us
Total Sales Amount by Year
Total Sales Amount by Year
hard
hard
🔒
🔒
1518
1403 cn
us
Minimum Subsequence in Non-Increasing Order
Minimum Subsequence in Non-Increasing Order
easy
easy

1519
1404 cn
us
Number of Steps to Reduce a Number in Binary Representation to One
Number of Steps to Reduce a Number in Binary Representation to One
medium
medium

1520
1406 cn
us
Stone Game III
Stone Game III
hard
hard

1522
1393 cn
us
Capital Gain/Loss
Capital Gain/Loss
medium
medium
🔒
🔒
1523
1408 cn
us
String Matching in an Array
String Matching in an Array
easy
easy

1524
1409 cn
us
Queries on a Permutation With Key
Queries on a Permutation With Key
medium
medium

1525
1410 cn
us
HTML Entity Parser
HTML Entity Parser
medium
medium

1526
1411 cn
us
Number of Ways to Paint N × 3 Grid
Number of Ways to Paint N × 3 Grid
hard
hard

1527
1431 cn
us
Kids With the Greatest Number of Candies
Kids With the Greatest Number of Candies
easy
easy

1528
1432 cn
us
Max Difference You Can Get From Changing an Integer
Max Difference You Can Get From Changing an Integer
medium
medium

1529
1433 cn
us
Check If a String Can Break Another String
Check If a String Can Break Another String
medium
medium

1530
1434 cn
us
Number of Ways to Wear Different Hats to Each Other
Number of Ways to Wear Different Hats to Each Other
hard
hard

1531
1417 cn
us
Reformat The String
Reformat The String
easy
easy

1532
1418 cn
us
Display Table of Food Orders in a Restaurant
Display Table of Food Orders in a Restaurant
medium
medium

1533
1419 cn
us
Minimum Number of Frogs Croaking
Minimum Number of Frogs Croaking
medium
medium

1534
1420 cn
us
Build Array Where You Can Find The Maximum Exactly K Comparisons
Build Array Where You Can Find The Maximum Exactly K Comparisons
hard
hard

1535
1398 cn
us
Customers Who Bought Products A and B but Not C
Customers Who Bought Products A and B but Not C
medium
medium
🔒
🔒
1536
1422 cn
us
Maximum Score After Splitting a String
Maximum Score After Splitting a String
easy
easy

1537
1423 cn
us
Maximum Points You Can Obtain from Cards
Maximum Points You Can Obtain from Cards
medium
medium

1538
1424 cn
us
Diagonal Traverse II
Diagonal Traverse II
medium
medium

1539
1407 cn
us
Top Travellers
Top Travellers
easy
easy
🔒
🔒
1541
1446 cn
us
Consecutive Characters
Consecutive Characters
easy
easy

1542
1447 cn
us
Simplified Fractions
Simplified Fractions
medium
medium

1543
1448 cn
us
Count Good Nodes in Binary Tree
Count Good Nodes in Binary Tree
medium
medium

1544
1449 cn
us
Form Largest Integer With Digits That Add up to Target
Form Largest Integer With Digits That Add up to Target
hard
hard

1545
1412 cn
us
Find the Quiet Students in All Exams
Find the Quiet Students in All Exams
hard
hard
🔒
🔒
1546
1436 cn
us
Destination City
Destination City
easy
easy

1547
1437 cn
us
Check If All 1's Are at Least Length K Places Away
Check If All 1's Are at Least Length K Places Away
medium
medium

1548
1438 cn
us
Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
Longest Continuous Subarray With Absolute Diff Less Than or Equal to Limit
medium
medium

1549
1439 cn
us
Find the Kth Smallest Sum of a Matrix With Sorted Rows
Find the Kth Smallest Sum of a Matrix With Sorted Rows
hard
hard

1550
1421 cn
us
NPV Queries
NPV Queries
medium
medium
🔒
🔒
1551
1441 cn
us
Build an Array With Stack Operations
Build an Array With Stack Operations
easy
easy

1552
1442 cn
us
Count Triplets That Can Form Two Arrays of Equal XOR
Count Triplets That Can Form Two Arrays of Equal XOR
medium
medium

1553
1443 cn
us
Minimum Time to Collect All Apples in a Tree
Minimum Time to Collect All Apples in a Tree
medium
medium

1554
1444 cn
us
Number of Ways of Cutting a Pizza
Number of Ways of Cutting a Pizza
hard
hard

1555
1460 cn
us
Make Two Arrays Equal by Reversing Sub-arrays
Make Two Arrays Equal by Reversing Sub-arrays
easy
easy

1556
1461 cn
us
Check If a String Contains All Binary Codes of Size K
Check If a String Contains All Binary Codes of Size K
medium
medium

1557
1462 cn
us
Course Schedule IV
Course Schedule IV
medium
medium

1558
1463 cn
us
Cherry Pickup II
Cherry Pickup II
hard
hard

1559
1450 cn
us
Number of Students Doing Homework at a Given Time
Number of Students Doing Homework at a Given Time
easy
easy

1560
1451 cn
us
Rearrange Words in a Sentence
Rearrange Words in a Sentence
medium
medium

1561
1452 cn
us
People Whose List of Favorite Companies Is Not a Subset of Another List
People Whose List of Favorite Companies Is Not a Subset of Another List
medium
medium

1562
1453 cn
us
Maximum Number of Darts Inside of a Circular Dartboard
Maximum Number of Darts Inside of a Circular Dartboard
hard
hard

1563
1435 cn
us
Create a Session Bar Chart
Create a Session Bar Chart
easy
easy
🔒
🔒
1564
1440 cn
us
Evaluate Boolean Expression
Evaluate Boolean Expression
medium
medium
🔒
🔒
1565
1455 cn
us
Check If a Word Occurs As a Prefix of Any Word in a Sentence
Check If a Word Occurs As a Prefix of Any Word in a Sentence
easy
easy

1566
1456 cn
us
Maximum Number of Vowels in a Substring of Given Length
Maximum Number of Vowels in a Substring of Given Length
medium
medium

1567
1457 cn
us
Pseudo-Palindromic Paths in a Binary Tree
Pseudo-Palindromic Paths in a Binary Tree
medium
medium

1568
1458 cn
us
Max Dot Product of Two Subsequences
Max Dot Product of Two Subsequences
hard
hard

1569
1475 cn
us
Final Prices With a Special Discount in a Shop
Final Prices With a Special Discount in a Shop
easy
easy

1570
1478 cn
us
Allocate Mailboxes
Allocate Mailboxes
hard
hard

1571
1476 cn
us
Subrectangle Queries
Subrectangle Queries
medium
medium

1572
1477 cn
us
Find Two Non-overlapping Sub-arrays Each With Target Sum
Find Two Non-overlapping Sub-arrays Each With Target Sum
medium
medium

1573
1464 cn
us
Maximum Product of Two Elements in an Array
Maximum Product of Two Elements in an Array
easy
easy

1574
1465 cn
us
Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts
Maximum Area of a Piece of Cake After Horizontal and Vertical Cuts
medium
medium

1575
1466 cn
us
Reorder Routes to Make All Paths Lead to the City Zero
Reorder Routes to Make All Paths Lead to the City Zero
medium
medium

1576
1467 cn
us
Probability of a Two Boxes Having The Same Number of Distinct Balls
Probability of a Two Boxes Having The Same Number of Distinct Balls
hard
hard

1577
1445 cn
us
Apples & Oranges
Apples & Oranges
medium
medium
🔒
🔒
1578
1454 cn
us
Active Users
Active Users
medium
medium
🔒
🔒
1579
1470 cn
us
Shuffle the Array
Shuffle the Array
easy
easy

1580
1471 cn
us
The k Strongest Values in an Array
The k Strongest Values in an Array
medium
medium

1581
1472 cn
us
Design Browser History
Design Browser History
medium
medium

1582
1473 cn
us
Paint House III
Paint House III
hard
hard

1583
1480 cn
us
Running Sum of 1d Array
Running Sum of 1d Array
easy
easy

1603
1481 cn
us
Least Number of Unique Integers after K Removals
Least Number of Unique Integers after K Removals
medium
medium

1604
1482 cn
us
Minimum Number of Days to Make m Bouquets
Minimum Number of Days to Make m Bouquets
medium
medium

1605
1459 cn
us
Rectangles Area
Rectangles Area
medium
medium
🔒
🔒
1607
1468 cn
us
Calculate Salaries
Calculate Salaries
medium
medium
🔒
🔒
1608
1469 cn
us
Find All The Lonely Nodes
Find All The Lonely Nodes
easy
easy
🔒
🔒
1609
1486 cn
us
XOR Operation in an Array
XOR Operation in an Array
easy
easy

1610
1487 cn
us
Making File Names Unique
Making File Names Unique
medium
medium

1611
1488 cn
us
Avoid Flood in The City
Avoid Flood in The City
medium
medium

1612
1489 cn
us
Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree
Find Critical and Pseudo-Critical Edges in Minimum Spanning Tree
hard
hard

1613
1474 cn
us
Delete N Nodes After M Nodes of a Linked List
Delete N Nodes After M Nodes of a Linked List
easy
easy
🔒
🔒
1618
5452
1479
cn
us
Sales by Day of the Week
Sales by Day of the Week
hard
hard
🔒
🔒
1623
1484
1485
cn
us
Clone Binary Tree With Random Pointer
Clone Binary Tree With Random Pointer
medium
medium
🔒
🔒
1624
1485
1484
cn
us
Group Sold Products By The Date
Group Sold Products By The Date
easy
easy
🔒
🔒
1625
1490 cn
us
Clone N-ary Tree
Clone N-ary Tree
medium
medium
🔒
🔒
1634
LCP 02 cn Deep Dark Fraction easy 100092
LCP 04 cn Broken Board Dominoes hard 100093
LCP 05 cn Coin Bonus hard 100094
LCP 03 cn Programmable Robot medium 100096
LCP 01 cn Guess Numbers easy 100107
面试题 01.01 cn Is Unique LCCI easy 100158
面试题 01.02 cn Check Permutation LCCI easy 100159
面试题 01.03 cn String to URL LCCI easy 100160
面试题 01.06 cn Compress String LCCI easy 100161
面试题 01.09 cn String Rotation LCCI easy 100162
面试题 02.01 cn Remove Duplicate Node LCCI easy 100163
面试题 02.06 cn Palindrome Linked List LCCI easy 100164
面试题 02.07 cn Intersection of Two Linked Lists LCCI easy 100167
面试题 02.08 cn Linked List Cycle LCCI medium 100168
面试题 03.02 cn Min Stack LCCI easy 100169
面试题 03.04 cn Implement Queue using Stacks LCCI easy 100170
面试题 04.01 cn Route Between Nodes LCCI medium 100171
面试题 03.01 cn Three in One LCCI easy 100172
面试题 03.05 cn Sort of Stacks LCCI medium 100173
面试题 04.02 cn Minimum Height Tree LCCI easy 100174
面试题 04.03 cn List of Depth LCCI medium 100175
面试题 04.04 cn Check Balance LCCI easy 100176
面试题 04.05 cn Legal Binary Search Tree LCCI medium 100177
面试题 04.06 cn Successor LCCI medium 100178
面试题 04.08 cn First Common Ancestor LCCI medium 100179
面试题 05.01 cn Insert Into Bits LCCI easy 100180
面试题 05.06 cn Convert Integer LCCI easy 100181
面试题 05.07 cn Exchange LCCI easy 100182
面试题 05.04 cn Closed Number LCCI medium 100183
面试题 01.04 cn Palindrome Permutation LCCI easy 100184
面试题 01.07 cn Rotate Matrix LCCI medium 100185
面试题 01.08 cn Zero Matrix LCCI medium 100186
面试题 02.03 cn Delete Middle Node LCCI easy 100187
面试题 02.05 cn Sum Lists LCCI medium 100188
面试题 03.03 cn Stack of Plates LCCI medium 100195
面试题 05.08 cn Draw Line LCCI medium 100196
面试题 08.01 cn Three Steps Problem LCCI easy 100197
面试题 08.04 cn Power Set LCCI medium 100198
面试题 08.05 cn Recursive Mulitply LCCI medium 100199
面试题 08.09 cn Bracket LCCI medium 100200
面试题 08.10 cn Color Fill LCCI easy 100201
面试题 08.13 cn Pile Box LCCI hard 100202
面试题 05.02 cn Bianry Number to String LCCI medium 100203
面试题 03.06 cn Animal Shelter LCCI easy 100228
面试题 04.10 cn Check SubTree LCCI medium 100229
面试题 05.03 cn Reverse Bits LCCI easy 100230
面试题 08.11 cn Coin LCCI medium 100231
面试题 10.03 cn Search Rotate Array LCCI medium 100232
面试题 08.12 cn Eight Queens LCCI hard 100233
面试题 08.03 cn Magic Index LCCI easy 100240
面试题 08.07 cn Permutation I LCCI medium 100241
面试题 10.05 cn Sparse Array Search LCCI easy 100242
面试题 16.01 cn Swap Numbers LCCI medium 100258
面试题 16.02 cn Words Frequency LCCI medium 100259
面试题 16.03 cn Intersection LCCI hard 100260
面试题 16.04 cn Tic-Tac-Toe LCCI medium 100261
面试题 16.06 cn Smallest Difference LCCI medium 100262
剑指 Offer 09 cn 用两个栈实现队列 LCOF easy 100273
剑指 Offer 10- I cn 斐波那契数列 LCOF easy 100274
剑指 Offer 03 cn 数组中重复的数字 LCOF easy 100275
剑指 Offer 04 cn 二维数组中的查找 LCOF easy 100276
剑指 Offer 10- II cn 青蛙跳台阶问题 LCOF easy 100277
剑指 Offer 11 cn 旋转数组的最小数字 LCOF easy 100278
剑指 Offer 12 cn 矩阵中的路径 LCOF medium 100279
剑指 Offer 05 cn 替换空格 LCOF easy 100280
剑指 Offer 13 cn 机器人的运动范围 LCOF medium 100281
剑指 Offer 06 cn 从尾到头打印链表 LCOF easy 100282
剑指 Offer 07 cn 重建二叉树 LCOF medium 100283
剑指 Offer 14- I cn 剪绳子 LCOF medium 100284
剑指 Offer 14- II cn 剪绳子 II LCOF medium 100285
剑指 Offer 25 cn 合并两个排序的链表 LCOF easy 100286
剑指 Offer 26 cn 树的子结构 LCOF medium 100287
剑指 Offer 27 cn 二叉树的镜像 LCOF easy 100288
剑指 Offer 28 cn 对称的二叉树 LCOF easy 100289
剑指 Offer 20 cn 表示数值的字符串 LCOF medium 100290
剑指 Offer 21 cn 调整数组顺序使奇数位于偶数前面 LCOF easy 100291
剑指 Offer 15 cn 二进制中1的个数 LCOF easy 100292
剑指 Offer 29 cn 顺时针打印矩阵 LCOF easy 100293
剑指 Offer 22 cn 链表中倒数第k个节点 LCOF easy 100294
剑指 Offer 16 cn 数值的整数次方 LCOF medium 100295
剑指 Offer 17 cn 打印从1到最大的n位数 LCOF easy 100296
剑指 Offer 19 cn 正则表达式匹配 LCOF hard 100297
剑指 Offer 24 cn 反转链表 LCOF easy 100298
剑指 Offer 18 cn 删除链表的节点 LCOF easy 100299
剑指 Offer 35 cn 复杂链表的复制 LCOF medium 100300
剑指 Offer 40 cn 最小的k个数 LCOF easy 100301
剑指 Offer 30 cn 包含min函数的栈 LCOF easy 100302
剑指 Offer 41 cn 数据流中的中位数 LCOF hard 100303
剑指 Offer 42 cn 连续子数组的最大和 LCOF easy 100304
剑指 Offer 36 cn 二叉搜索树与双向链表 LCOF medium 100305
剑指 Offer 31 cn 栈的压入、弹出序列 LCOF medium 100306
剑指 Offer 37 cn 序列化二叉树 LCOF hard 100307
剑指 Offer 38 cn 字符串的排列 LCOF medium 100308
剑指 Offer 43 cn 1~n整数中1出现的次数 LCOF medium 100309
剑指 Offer 39 cn 数组中出现次数超过一半的数字 LCOF easy 100310
剑指 Offer 32 - I cn 从上到下打印二叉树 LCOF medium 100311
剑指 Offer 32 - II cn 从上到下打印二叉树 II LCOF easy 100312
剑指 Offer 44 cn 数字序列中某一位的数字 LCOF medium 100313
剑指 Offer 32 - III cn 从上到下打印二叉树 III LCOF medium 100314
剑指 Offer 33 cn 二叉搜索树的后序遍历序列 LCOF medium 100315
剑指 Offer 50 cn 第一个只出现一次的字符 LCOF easy 100316
剑指 Offer 34 cn 二叉树中和为某一值的路径 LCOF medium 100317
剑指 Offer 51 cn 数组中的逆序对 LCOF hard 100318
剑指 Offer 55 - I cn 二叉树的深度 LCOF easy 100319
剑指 Offer 56 - I cn 数组中数字出现的次数 LCOF medium 100320
剑指 Offer 56 - II cn 数组中数字出现的次数 II LCOF medium 100321
剑指 Offer 57 cn 和为s的两个数字 LCOF easy 100322
剑指 Offer 45 cn 把数组排成最小的数 LCOF medium 100323
剑指 Offer 57 - II cn 和为s的连续正数序列 LCOF easy 100324
剑指 Offer 46 cn 把数字翻译成字符串 LCOF medium 100325
剑指 Offer 52 cn 两个链表的第一个公共节点 LCOF easy 100326
剑指 Offer 47 cn 礼物的最大价值 LCOF medium 100327
剑指 Offer 58 - I cn 翻转单词顺序 LCOF easy 100328
剑指 Offer 53 - I cn 在排序数组中查找数字 LCOF easy 100329
剑指 Offer 58 - II cn 左旋转字符串 LCOF easy 100330
剑指 Offer 53 - II cn 缺失的数字 LCOF easy 100331
剑指 Offer 48 cn 最长不含重复字符的子字符串 LCOF medium 100332
剑指 Offer 54 cn 二叉搜索树的第k大节点 LCOF easy 100333
剑指 Offer 49 cn 丑数 LCOF medium 100334
剑指 Offer 65 cn 不用加减乘除做加法 LCOF easy 100335
剑指 Offer 59 - I cn 滑动窗口的最大值 LCOF easy 100336
剑指 Offer 59 - II cn 队列的最大值 LCOF medium 100337
剑指 Offer 66 cn 构建乘积数组 LCOF easy 100338
剑指 Offer 60 cn n个骰子的点数 LCOF easy 100339
剑指 Offer 67 cn 把字符串转换成整数 LCOF medium 100340
剑指 Offer 61 cn 扑克牌中的顺子 LCOF easy 100341
剑指 Offer 55 - II cn 平衡二叉树 LCOF easy 100342
剑指 Offer 62 cn 圆圈中最后剩下的数字 LCOF easy 100343
剑指 Offer 63 cn 股票的最大利润 LCOF medium 100344
剑指 Offer 64 cn 求1+2+…+n LCOF medium 100345
剑指 Offer 68 - I cn 二叉搜索树的最近公共祖先 LCOF easy 100346
剑指 Offer 68 - II cn 二叉树的最近公共祖先 LCOF easy 100347
面试题 08.08 cn Permutation II LCCI medium 100348
面试题 16.07 cn Maximum LCCI easy 100349
面试题 16.09 cn Operations LCCI medium 100350
面试题 16.10 cn Living People LCCI medium 100351
面试题 16.11 cn Diving Board LCCI easy 100352
面试题 16.13 cn Bisect Squares LCCI medium 100353
面试题 16.14 cn Best Line LCCI medium 100354
面试题 16.15 cn Master Mind LCCI easy 100355
面试题 16.16 cn Sub Sort LCCI medium 100356
面试题 16.17 cn Contiguous Sequence LCCI easy 1000003
面试题 16.18 cn Pattern Matching LCCI medium 1000004
面试题 16.19 cn Pond Sizes LCCI medium 1000005
面试题 01.05 cn One Away LCCI medium 1000006
面试题 02.02 cn Kth Node From End of List LCCI easy 1000007
面试题 02.04 cn Partition List LCCI medium 1000008
面试题 04.12 cn Paths with Sum LCCI medium 1000009
面试题 04.09 cn BST Sequences LCCI hard 1000010
面试题 08.02 cn Robot in a Grid LCCI medium 1000011
面试题 10.01 cn Sorted Merge LCCI easy 1000012
面试题 10.11 cn Peaks and Valleys LCCI medium 1000013
面试题 08.06 cn Hanota LCCI easy 1000015
面试题 10.09 cn Sorted Matrix Search LCCI medium 1000016
面试题 16.05 cn Factorial Zeros LCCI easy 1000017
面试题 16.08 cn English Int LCCI hard 1000018
面试题 17.12 cn BiNode LCCI easy 1000019
面试题 17.13 cn Re-Space LCCI medium 1000020
面试题 17.14 cn Smallest K LCCI medium 1000021
面试题 17.15 cn Longest Word LCCI medium 1000022
面试题 17.16 cn The Masseuse LCCI easy 1000023
面试题 17.17 cn Multi Search LCCI medium 1000024
面试题 17.01 cn Add Without Plus LCCI easy 1000025
面试题 16.25 cn LRU Cache LCCI medium 1000026
面试题 16.26 cn Calculator LCCI medium 1000027
面试题 17.20 cn Continuous Median LCCI hard 1000028
面试题 17.21 cn Volume of Histogram LCCI hard 1000029
面试题 17.22 cn Word Transformer LCCI medium 1000030
面试题 08.14 cn Boolean Evaluation LCCI medium 1000031
面试题 17.04 cn Missing Number LCCI easy 1000032
面试题 17.05 cn Find Longest Subarray LCCI medium 1000033
面试题 17.06 cn Number Of 2s In Range LCCI medium 1000034
面试题 17.07 cn Baby Names LCCI medium 1000035
面试题 17.08 cn Circus Tower LCCI medium 1000036
面试题 17.09 cn Get Kth Magic Number LCCI medium 1000037
面试题 17.10 cn Find Majority Element LCCI easy 1000038
面试题 17.11 cn Find Closest LCCI medium 1000039
面试题 10.02 cn Group Anagrams LCCI medium 1000040
面试题 10.10 cn Rank from Stream LCCI medium 1000041
面试题 16.24 cn Pairs With Sum LCCI medium 1000042
面试题 17.18 cn Shortest Supersequence LCCI medium 1000043
面试题 17.19 cn Missing Two LCCI hard 1000044
面试题 17.23 cn Max Black Square LCCI medium 1000045
面试题 17.24 cn Max Submatrix LCCI hard 1000046
面试题 16.20 cn T9 LCCI medium 1000047
面试题 16.21 cn Sum Swap LCCI medium 1000048
面试题 17.25 cn Word Rectangle LCCI hard 1000049
面试题 16.22 cn Langtons Ant LCCI medium 1000050
面试题 17.26 cn Sparse Similarity LCCI hard 1000051
LCP 06 cn 拿硬币 easy 1000056
LCP 08 cn 剧情触发时间 medium 1000057
LCP 14 cn 切分数组 hard 1000059
LCP 10 cn 二叉树任务调度 hard 1000062
LCP 07 cn 传递信息 easy 1000063
LCP 16 cn 游乐园的游览计划 hard 1000085
LCP 11 cn 期望个数统计 easy 1000086
LCP 12 cn 小张刷题计划 medium 1000087
LCP 15 cn 游乐园的迷宫 hard 1000088
LCP 09 cn 最小跳跃次数 hard 1000090
LCP 13 cn 寻宝 hard 1000093