1 |
Two Sum |
CPlusPlus |
Easy |
2 |
Add Two Numbers |
CPlusPlus |
Medium |
3 |
Longest Substring Without Repeating Characters |
CPlusPlus |
Medium |
4 |
Median of Two Sorted Arrays |
CPlusPlus |
Hard |
9 |
Palindrome Number |
CPlusPlus |
Easy |
21 |
Merge Two Sorted Lists |
CPlusPlus |
Easy |
25 |
Reverse Nodes in k-Group |
CPlusPlus |
Hard |
29 |
Divide Two Integers |
CPlusPlus |
Medium |
30 |
Substring with Concatenation of All Words |
CPlusPlus |
Hard |
32 |
Longest Valid Parentheses |
CPlusPlus |
Hard |
34 |
Search for a Range |
CPlusPlus |
Medium |
35 |
Search Insert Position |
CPlusPlus |
Medium |
39 |
Combination Sum |
CPlusPlus |
Medium |
40 |
Combination Sum II |
CPlusPlus |
Medium |
41 |
First Missing Positive |
CPlusPlus |
Hard |
42 |
Trapping Rain Water |
CPlusPlus |
Hard |
43 |
Multiply Strings |
CPlusPlus |
Medium |
44 |
Wildcard Matching |
CPlusPlus |
Hard |
45 |
Jump Game II |
CPlusPlus |
Hard |
51 |
N-Queens |
CPlusPlus |
Hard |
52 |
N-Queens II |
CPlusPlus |
Hard |
54 |
Spiral Matrix |
CPlusPlus |
Medium |
55 |
Jump Game |
CPlusPlus |
Medium |
56 |
Merge Intervals |
CPlusPlus |
Hard |
57 |
Insert Interval |
CPlusPlus |
Hard |
59 |
Spiral Matrix II |
CPlusPlus |
Medium |
62 |
Unique Paths |
CPlusPlus |
Medium |
63 |
Unique Paths II |
CPlusPlus |
Medium |
64 |
Minimum Path Sum |
CPlusPlus |
Medium |
65 |
Valid Number |
CPlusPlus |
Hard |
66 |
Plus One |
CPlusPlus |
Easy |
68 |
Text Justification |
CPlusPlus |
Hard |
69 |
Sqrt(x) |
CPlusPlus |
Medium |
71 |
Simplify Path |
CPlusPlus |
Medium |
72 |
Edit Distance |
CPlusPlus |
Hard |
76 |
Minimum Window Substring |
CPlusPlus |
Hard |
79 |
Word Search |
CPlusPlus |
Medium |
82 |
Remove Duplicates from Sorted List II |
CPlusPlus |
Medium |
83 |
Remove Duplicates from Sorted List |
CPlusPlus |
Easy |
84 |
Largest Rectangle in Histogram |
CPlusPlus |
Hard |
85 |
Maximal Rectangle |
CPlusPlus |
Hard |
90 |
Subsets II |
CPlusPlus |
Medium |
91 |
Decode Ways |
CPlusPlus |
Medium |
92 |
Reverse Linked List II |
CPlusPlus |
Medium |
93 |
Restore IP Addresses |
CPlusPlus |
Medium |
94 |
Binary Tree Inorder Traversal |
CPlusPlus |
Medium |
95 |
Unique Binary Search Trees II |
CPlusPlus |
Medium |
96 |
Unique Binary Search Trees |
CPlusPlus |
Medium |
97 |
Interleaving String |
CPlusPlus |
Hard |
98 |
Validate Binary Search Tree |
CPlusPlus |
Medium |
99 |
Recover Binary Search Tree |
CPlusPlus |
Hard |
103 |
Binary Tree Zigzag Level Order Traversal |
CPlusPlus |
Medium |
105 |
Construct Binary Tree from Preorder and Inorder Traversal |
CPlusPlus |
Medium |
106 |
Construct Binary Tree from Inorder and Postorder Traversal |
CPlusPlus |
Medium |
108 |
Convert Sorted Array to Binary Search Tree |
CPlusPlus |
Medium |
109 |
Convert Sorted List to Binary Search Tree |
CPlusPlus |
Medium |
114 |
Flatten Binary Tree to Linked List |
CPlusPlus |
Medium |
115 |
Distinct Subsequences |
CPlusPlus |
Hard |
121 |
Best Time to Buy and Sell Stock |
CPlusPlus |
Easy |
122 |
Best Time to Buy and Sell Stock II |
CPlusPlus |
Medium |
123 |
Best Time to Buy and Sell Stock III |
CPlusPlus |
Hard |
124 |
Binary Tree Maximum Path Sum |
CPlusPlus |
Hard |
125 |
Valid Palindrome |
CPlusPlus |
Easy |
126 |
Word Ladder II |
CPlusPlus |
Hard |
128 |
Longest Consecutive Sequence |
CPlusPlus |
Hard |
129 |
Sum Root to Leaf Numbers |
CPlusPlus |
Medium |
130 |
Surrounded Regions |
CPlusPlus |
Medium |
131 |
Palindrome Partitioning |
CPlusPlus |
Medium |
132 |
Palindrome Partitioning II |
CPlusPlus |
Hard |
133 |
Clone Graph |
CPlusPlus |
Medium |
134 |
Gas Station |
CPlusPlus |
Medium |
135 |
Candy |
CPlusPlus |
Hard |
136 |
Single Number |
CPlusPlus |
Easy |
138 |
Copy List with Random Pointer |
CPlusPlus |
Hard |
141 |
Linked List Cycle |
CPlusPlus |
Easy |
142 |
Linked List Cycle II |
CPlusPlus |
Medium |
143 |
Reorder List |
CPlusPlus |
Medium |
144 |
Binary Tree Preorder Traversal |
CPlusPlus |
Medium |
145 |
Binary Tree Postorder Traversal |
CPlusPlus |
Hard |
147 |
Insertion Sort List |
CPlusPlus |
Medium |
148 |
Sort List |
CPlusPlus |
Medium |
149 |
Max Points on a Line |
CPlusPlus |
Hard |
150 |
Evaluate Reverse Polish Notation |
CPlusPlus |
Medium |
152 |
Maximum Product Subarray |
CPlusPlus |
Medium |
153 |
Find Minimum in Rotated Sorted Array |
CPlusPlus |
Medium |
154 |
Find Minimum in Rotated Sorted Array II |
CPlusPlus |
Hard |
156 |
Binary Tree Upside Down |
CPlusPlus |
Medium |
157 |
Read N Characters Given Read4 |
CPlusPlus |
Easy |
158 |
Read N Characters Given Read4 II - Call multiple times |
CPlusPlus |
Hard |
162 |
Find Peak Element |
CPlusPlus |
Medium |
163 |
Missing Ranges |
CPlusPlus |
Medium |
164 |
Maximum Gap |
CPlusPlus |
Hard |
166 |
Fraction to Recurring Decimal |
CPlusPlus |
Medium |
173 |
Binary Search Tree Iterator |
CPlusPlus |
Medium |
174 |
Dungeon Game |
CPlusPlus |
Hard |
187 |
Repeated DNA Sequences |
CPlusPlus |
Medium |
188 |
Best Time to Buy and Sell Stock IV |
CPlusPlus |
Hard |
199 |
Binary Tree Right Side View |
CPlusPlus |
Medium |
200 |
Number of Islands |
CPlusPlus |
Medium |
201 |
Bitwise AND of Numbers Range |
CPlusPlus |
Medium |
206 |
Reverse Linked List |
CPlusPlus |
Easy |
207 |
Course Schedule |
CPlusPlus |
Medium |
208 |
Implement Trie (Prefix Tree) |
CPlusPlus |
Medium |
209 |
Minimum Size Subarray Sum |
CPlusPlus |
Medium |
210 |
Course Schedule II |
CPlusPlus |
Medium |
211 |
Add and Search Word - Data structure design |
CPlusPlus |
Medium |
212 |
Word Search II |
CPlusPlus |
Hard |
214 |
Shortest Palindrome |
CPlusPlus |
Hard |
215 |
Kth Largest Element in an Array |
CPlusPlus |
Medium |
216 |
Combination Sum III |
CPlusPlus |
Medium |
217 |
Contains Duplicate |
CPlusPlus |
Easy |
219 |
Contains Duplicate II |
CPlusPlus |
Easy |
220 |
Contains Duplicate III |
CPlusPlus |
Medium |
221 |
Maximal Square |
CPlusPlus |
Medium |
230 |
Kth Smallest Element in a BST |
CPlusPlus |
Medium |
231 |
Power of Two |
CPlusPlus |
Easy |
238 |
Product of Array Except Self |
CPlusPlus |
Medium |
241 |
Different Ways to Add Parentheses |
CPlusPlus |
Medium |
242 |
Valid Anagram |
CPlusPlus |
Easy |
246 |
Strobogrammatic Number |
CPlusPlus |
Medium |
247 |
Strobogrammatic Number II |
CPlusPlus |
Medium |
250 |
Count Univalue Subtrees |
CPlusPlus |
Medium |
251 |
Flatten 2D Vector |
CPlusPlus |
Medium |
253 |
Meeting Rooms II |
CPlusPlus |
Medium |
254 |
Factor Combinations |
CPlusPlus |
Medium |
255 |
Verify Preorder Sequence in Binary Search Tree |
CPlusPlus |
Medium |
256 |
Paint House |
CPlusPlus |
Medium |
261 |
Graph Valid Tree |
CPlusPlus |
Medium |
258 |
Add Digits |
CPlusPlus |
Easy |
263 |
Ugly Number |
CPlusPlus |
Easy |
264 |
Ugly Number II |
CPlusPlus |
Medium |
265 |
Paint House II |
CPlusPlus |
Hard |
268 |
Missing Number |
CPlusPlus |
Medium |
269 |
Alien Dictionary |
CPlusPlus |
Hard |
279 |
Perfect Squares |
CPlusPlus |
Medium |
281 |
Zigzag Iterator |
CPlusPlus |
Medium |
285 |
Inorder Successor in BST |
CPlusPlus |
Medium |
286 |
Walls and Gates |
CPlusPlus |
Medium |
287 |
Find the Duplicate Number |
CPlusPlus |
Hard |
293 |
Flip Game |
CPlusPlus |
Easy |
294 |
Flip Game II |
CPlusPlus |
Medium |
296 |
Best Meeting Point |
CPlusPlus |
Hard |
298 |
Binary Tree Longest Consecutive Sequence |
CPlusPlus |
Medium |
300 |
Longest Increasing Subsequence |
CPlusPlus |
Medium |
302 |
Smallest Rectangle Enclosing Black Pixels |
CPlusPlus |
Hard |
305 |
Number of Islands II |
CPlusPlus |
Hard |
307 |
Range Sum Query - Mutable |
CPlusPlus |
Medium |
308 |
Range Sum Query 2D - Mutable |
CPlusPlus |
Hard |
309 |
Best Time to Buy and Sell Stock with Cooldown |
CPlusPlus |
Medium |
310 |
Minimum Height Trees |
CPlusPlus |
Medium |
312 |
Burst Balloons |
CPlusPlus |
Hard |
313 |
Super Ugly Number |
CPlusPlus |
Medium |
315 |
Count of Smaller Numbers After Self |
CPlusPlus |
Hard |
317 |
Shortest Distance from All Buildings |
CPlusPlus |
Hard |
318 |
Maximum Product of Word Lengths |
CPlusPlus |
Medium |
319 |
Bulb Switcher |
CPlusPlus |
Medium |
320 |
Generalized Abbreviation |
CPlusPlus |
Medium |
323 |
Number of Connected Components in an Undirected Graph |
CPlusPlus |
Medium |
329 |
Longest Increasing Path in a Matrix |
CPlusPlus |
Hard |
332 |
Reconstruct Itinerary |
CPlusPlus |
Medium |
333 |
Largest BST Subtree |
CPlusPlus |
Medium |
334 |
Increasing Triplet Subsequence |
CPlusPlus |
Medium |
339 |
Nested List Weight Sum |
CPlusPlus |
Easy |
342 |
Power of Four |
CPlusPlus |
Easy |
343 |
Integer Break |
CPlusPlus |
Medium |
346 |
Moving Average from Data Stream |
CPlusPlus |
Easy |
347 |
Top K Frequent Elements |
CPlusPlus |
Medium |
348 |
Design Tic-Tac-Toe |
CPlusPlus |
Medium |
349 |
Intersection of Two Arrays |
CPlusPlus |
Easy |
350 |
Intersection of Two Arrays II |
CPlusPlus |
Easy |
351 |
Android Unlock Patterns |
CPlusPlus |
Medium |
354 |
Russian Doll Envelopes |
CPlusPlus |
Hard |
355 |
Design Twitter |
CPlusPlus |
Medium |
356 |
Line Reflection |
CPlusPlus |
Medium |
357 |
Count Numbers with Unique Digits |
CPlusPlus |
Medium |
359 |
Logger Rate Limiter |
CPlusPlus |
Easy |
360 |
Sort Transformed Array |
CPlusPlus |
Medium |
361 |
Bomb Enemy |
CPlusPlus |
Medium |
362 |
Design Hit Counter |
CPlusPlus |
Medium |
364 |
Nested List Weight Sum II |
CPlusPlus |
Medium |
366 |
Find Leaves of Binary Tree |
CPlusPlus |
Medium |
367 |
Valid Perfect Square |
CPlusPlus |
Medium |
369 |
Plus One Linked List |
CPlusPlus |
Medium |
370 |
Range Addition |
CPlusPlus |
Medium |
371 |
Sum of Two Integers |
CPlusPlus |
Easy |
374 |
Guess Number Higher or Lower |
CPlusPlus |
Easy |
376 |
Wiggle Subsequence |
CPlusPlus |
Medium |
377 |
Combination Sum IV |
CPlusPlus |
Medium |
378 |
Kth Smallest Element in a Sorted Matrix |
CPlusPlus |
Medium |
382 |
Linked List Random Node |
CPlusPlus |
Medium |
383 |
Ransom Note |
CPlusPlus |
Easy |
384 |
Shuffle an Array |
CPlusPlus |
Medium |
386 |
Lexicographical Numbers |
CPlusPlus |
Medium |
387 |
First Unique Character in a String |
CPlusPlus |
Easy |
389 |
Find the Difference |
CPlusPlus |
Easy |
392 |
Is Subsequence |
CPlusPlus |
Medium |
394 |
Decode String |
CPlusPlus |
Medium |
396 |
Rotate Function |
CPlusPlus |
Easy |
397 |
Integer Replacement |
CPlusPlus |
Easy |
399 |
Evaluate Division |
CPlusPlus |
Medium |
400 |
Nth Digit |
CPlusPlus |
Easy |
401 |
Binary Watch |
CPlusPlus |
Easy |
404 |
Sum of Left Leaves |
CPlusPlus |
Easy |
405 |
Convert a Number to Hexadecimal |
CPlusPlus |
Easy |
406 |
Queue Reconstruction by Height |
CPlusPlus |
Medium |
408 |
Valid Word Abbreviation |
CPlusPlus |
Easy |
409 |
Longest Palindrome |
CPlusPlus |
Easy |
412 |
Fizz Buzz |
CPlusPlus |
Easy |
413 |
Arithmetic Slices |
CPlusPlus |
Medium |
414 |
Third Maximum Number |
CPlusPlus |
Easy |
415 |
Add Strings |
CPlusPlus |
Easy |
416 |
Partition Equal Subset Sum |
CPlusPlus |
Medium |