1 |
Two Sum |
Easy |
Array, Hash Table |
golang |
2 |
Add Two Numbers |
Medium |
Linked List, Math |
golang |
3 |
Longest Substring Without Repeating Characters |
Medium |
Hash Table, Two Pointers, String, Sliding Window |
golang, c |
4 |
Median of Two Sorted Arrays |
Hard |
Array, Binary Search, Divide and Conquer |
golang |
5 |
Longest Palindromic Substring |
Medium |
String, Dynamic Programming |
golang |
6 |
ZigZag Conversion |
Medium |
String |
golang |
7 |
Reverse Integer |
Easy |
Math |
golang, c |
8 |
String to Integer (atoi) |
Medium |
Math, String |
golang |
10 |
Regular Expression Matching |
Hard |
String,Dynamic Programming,Backtracking |
golang |
12 |
Integer to Roman |
Medium |
Math, String |
golang |
13 |
Roman to Integer |
Easy |
Math, String |
golang |
17 |
Letter Combinations of a Phone Number |
Medium |
String, Backtracking |
golang |
29 |
Divide Two Integers |
Medium |
Math, Binary Search |
golang |
39 |
Combination Sum |
Medium |
Array, Backtracking |
golang |
40 |
Combination Sum II |
Medium |
Array, Backtracking |
golang |
43 |
Multiply Strings |
Medium |
Math, String |
golang |
45 |
Jump Game II |
Hard |
Array, Greedy |
golang |
46 |
Permutations |
Medium |
Backtracking |
golang |
47 |
Permutations II |
Medium |
Backtracking |
golang |
50 |
Pow(x, n) |
Medium |
Math, Binary Search |
golang |
54 |
Spiral Matrix |
Medium |
Array |
golang |
55 |
Jump Game |
Medium |
Array, Greedy |
golang |
57 |
Insert Interval |
Medium |
Array |
golang, java |
59 |
Spiral Matrix II |
Medium |
Array |
golang |
62 |
Unique Paths |
Medium |
Array, Dynamic Programming |
golang |
63 |
Unique Paths II |
Medium |
Array, Dynamic Programming |
golang |
64 |
Minimum Path Sum |
Medium |
Array, Dynamic Programming |
golang |
71 |
Simplify Path |
Medium |
String, Stack |
golang |
73 |
Set Matrix Zeroes |
Medium |
Array |
golang |
74 |
Search a 2D Matrix |
Medium |
Array, Binary Search |
golang |
75 |
Sort Colors |
Medium |
Array, Two Pointers, Sort |
golang |
79 |
Word Search |
Medium |
Array, Backtracking |
golang |
91 |
Decode Ways |
Medium |
String, Dynamic Programming |
golang |
101 |
Symmetric Tree |
Easy |
Tree, Depth-first Search,Breadth-first Search |
golang |
102 |
Binary Tree Level Order Traversal |
Medium |
Tree, Breadth-First Search, Binary Tree |
golang |
103 |
Binary Tree Zigzag Level Order Traversal |
Medium |
Tree, Breadth-First Search, Binary Tree |
golang |
108 |
Convert Sorted Array to Binary Search Tree |
Easy |
Tree, Depth-first Search |
golang |
110 |
Balanced Binary Tree |
Easy |
Tree, Depth-first Search |
golang |
111 |
Minimum Depth of Binary Tree |
Easy |
Tree, Depth-first Search,Breadth-first Search |
golang |
121 |
Best Time to Buy and Sell Stock |
Easy |
Array |
golang |
122 |
Best Time to Buy and Sell Stock II |
Easy |
Array, Greedy |
golang |
125 |
Valid Palindrome |
Easy |
String, Two Pointers |
golang |
168 |
Excel Sheet Column Title |
Easy |
Math |
golang |
171 |
Excel Sheet Column Number |
Easy |
Math |
golang |
172 |
Factorial Trailing Zeroes |
Easy |
Math |
golang |
190 |
Reverse Bits |
Easy |
Bit Manipulation |
golang |
198 |
House Robber |
Easy |
Dynamic Programming |
golang |
199 |
Binary Tree Right Side View |
Medium |
Tree, Depth-first-Search, Breadth-first-Search |
golang |
226 |
Invert Binary Tree |
Easy |
Tree |
golang |
228 |
Summary Ranges |
Easy |
Array |
golang |
257 |
Binary Tree Paths |
Easy |
Tree, Depth-first-Search |
golang |
258 |
Add Digits |
Easy |
Math |
golang |
263 |
Ugly Number |
Easy |
Math |
golang |
264 |
Ugly Number II |
Medium |
Math,Dynamic Programming , Heap |
golang, c |
292 |
Nim Game |
Easy |
Brainteaser, Minimax |
golang |
299 |
Bulls and Cows |
Easy |
Hsh Table |
golang |
326 |
Power of Three |
Easy |
Math, Recursion |
golang |
343 |
Integer Break |
Medium |
Math, Dynamic Programming |
golang, c |
345 |
Reverse Vowels of a String |
Easy |
String, Two Pointers |
golang |
383 |
Ransom Note |
Easy |
String, Hash Table |
golang |
389 |
Find the Difference |
Easy |
Hash Table, Bit Manipulation |
golang |
412 |
Fizz Buzz |
Easy |
Math, String, Simulation |
golang |
485 |
Max Consecutive Ones |
Easy |
Array |
golang, c |
496 |
Next Greater Element I |
Easy |
Stack |
golang |
530 |
Minimum Absolute Difference in BST |
Easy |
Tree |
golang |
532 |
K-diff Pairs in an Array |
Easy |
Array, Two Pointers |
golang |
566 |
Reshape the Matrix |
Easy |
Array |
golang |
654 |
Maximum Binary Tree |
Medium |
Tree |
golang |
687 |
Longest Univalue Path |
Easy |
Tree, Recursion |
golang |
717 |
1-bit and 2-bit Characters |
Easy |
Array |
golang |
783 |
Minimum Distance Between BST Nodes |
Easy |
Tree, Recursion |
golang |
796 |
Rotate String |
Easy |
String, String Matching |
golang |
908 |
Smallest Range I |
Easy |
Array, Math |
golang |
1137 |
N-th Tribonacci Number |
Easy |
Recursion |
golang |
1295 |
Find Numbers with Even Number of Digits |
Easy |
Array |
golang, c |
1446 |
Consecutive Characters |
Easy |
String |
golang |
1749 |
Maximum Absolute Sum of Any Subarray |
Medium |
Array, Dynamic Programming |
golang |
1941 |
Check if All Characters Have Equal Number |
Easy |
Hash Table, String, counting |
golang |