2 |
Add Two Numbers |
js, c |
medium |
linked list |
3 |
Longest Substring Without Repeating Characters |
js |
medium |
string |
5 |
Longest Palindromic Substring |
js |
medium |
string |
7 |
Reverse Integer |
js |
easy |
math |
9 |
Palindrome Number |
js |
easy |
math |
14 |
Longest Common Prefix |
js |
easy |
array |
15 |
3 Sum |
js |
medium |
array |
16 |
3Sum Closest |
js, c |
medium |
array |
17 |
Letter Combinations of a Phone Number |
js |
medium |
array |
19 |
Remove Nth Node From End of List |
js |
medium |
linked list |
20 |
Valid Parentheses |
js |
medium |
string |
21 |
Merge Two Sorted Lists |
js, c |
easy |
linked list |
24 |
Swap Nodes in Pairs |
js |
medium |
linked list |
26 |
Remove Duplicates from Sorted Array |
js |
easy |
array |
33 |
Search in Rotated Sorted Array |
js |
medium |
array |
34 |
Find First and Last Position of Element in Sorted Array |
js |
medium |
array |
35 |
Search Insert Position |
js |
easy |
array |
39 |
Combination Sum |
js |
medium |
array |
43 |
Multiply Strings |
js |
medium |
string |
48 |
Rotate Image |
js |
medium |
array |
53 |
Maximum Subarray |
js |
easy |
array |
54 |
Spiral Matrix |
js |
medium |
array |
55 |
Jump Game |
js |
medium |
array |
60 |
Permutation Sequence |
js |
medium |
math |
62 |
Unique Paths |
js |
medium |
array |
63 |
Unique Paths II |
js |
medium |
array |
66 |
Plus One |
js |
easy |
array |
73 |
Set Matrix Zeroes |
js |
medium |
array |
78 |
Subsets |
js |
medium |
array |
80 |
Remove Duplicates from Sorted Array II |
js |
medium |
array |
80 |
Remove Duplicates from Sorted Array II |
js |
medium |
array |
83 |
Remove Duplicates from Sorted List |
js |
easy |
linked list |
96 |
Unique Binary Search Trees |
js |
medium |
DP |
100 |
Same Tree |
js |
easy |
tree |
101 |
Symmetric Tree |
js |
easy |
tree |
104 |
Maximum Depth of Binary Tree |
js |
easy |
tree |
106 |
Construct Binary Tree from Inorder and Postorder Traversal |
js |
medium |
tree |
118 |
Pascal's Triangle |
js |
easy |
array |
119 |
Pascal's Triangle II |
js |
easy |
array |
120 |
Triangle |
js |
medium |
array |
127 |
Word Ladder |
js |
medium |
array |
139 |
Word Break |
js |
medium |
DP |
144 |
Binary Tree Preorder Traversal |
js |
medium |
tree |
147 |
Insertion Sort List |
js |
medium |
linked list |
152 |
Maximum Product Subarray |
js |
medium |
array |
153 |
Find Minimum in Rotated Sorted Array |
js |
medium |
array |
160 |
Intersection of Two Linked Lists |
js |
easy |
linked list |
171 |
Excel Sheet Column Number |
js |
easy |
math |
199 |
Binary Tree Right Side View |
js |
medium |
tree |
200 |
Number of Islands |
js |
medium |
array |
204 |
Count Primes |
js |
easy |
math |
209 |
Minimum Size Subarray Sum |
js |
medium |
array |
215 |
Kth Largest Element in an Array |
js |
medium |
array |
216 |
Combination Sum III |
js |
medium |
array |
230 |
Kth Smallest Element in a BST |
js |
medium |
tree |
236 |
Lowest Common Ancestor of a Binary Tree |
js |
medium |
tree |
257 |
Binary Tree Paths |
js |
easy |
tree |
260 |
Single Number III |
js |
medium |
array |
287 |
Find the Duplicate Number |
js |
medium |
array |
338 |
Counting Bits |
js |
medium |
array |
375 |
Guess Number Higher or Lower II |
js |
medium |
DP |
383 |
Ransom Note |
js |
easy |
array |
404 |
Sum of Left Leaves |
js |
easy |
tree |
416 |
Partition Equal Subset Sum |
js |
medium |
DP |
429 |
N-ary Tree Level Order Traversal |
cpp |
easy |
tree |
442 |
Find All Duplicates in an Array |
js |
medium |
array |
455 |
Assign Cookies |
js |
easy |
tree |
494 |
Target Sum |
js |
medium |
DP |
496 |
Next Greater Element I |
js |
easy |
array |
526 |
Beautiful Arrangement |
js |
medium |
backtrack |
547 |
Friend Circles |
js |
medium |
array |
566 |
Reshape the Matrix |
js |
easy |
array |
621 |
Task Scheduler |
js |
medium |
array |
623 |
Add One Row to Tree |
js |
medium |
tree |
637 |
Average of Levels in Binary Tree |
js |
easy |
tree |
645 |
Set Mismatch |
js |
easy |
array |
670 |
Maximum Swap |
js |
medium |
array |
693 |
Binary Number with Alternating Bits |
js |
easy |
array |
693 |
Binary Number with Alternating Bits |
js |
easy |
math |
746 |
Min Cost Climbing Stairs |
js |
easy |
DP |
763 |
Partition Labels |
js |
medium |
hashtable |
811 |
Subdomain Visit Count |
js |
easy |
hashtable |
821 |
Shortest Distance to a Character |
js |
easy |
string |
844 |
Backspace String Compare |
js |
easy |
string |
856 |
Score of Parentheses |
js |
medium |
string |
884 |
Uncommon Words from Two Sentences |
js |
easy |
string |
890 |
Find and Replace Pattern |
js |
medium |
string |
896 |
Monotonic Array |
js |
easy |
tree |
897 |
Increasing Order Search Tree |
js |
easy |
tree |
914 |
X of a Kind in a Deck of Cards |
js |
easy |
math |
917 |
Reverse Only Letters |
js |
easy |
tree |
932 |
Beautiful Array |
js |
medium |
array |
951 |
Flip Equivalent Binary Trees |
js |
medium |
tree |