ID题目难度
完成1Two Sum2 2Add Two Numbers3
3Longest Substring Without Repeating Characters3
4Median of Two Sorted Arrays5
5Longest Palindromic Substring4
6ZigZag Conversion3完成7Reverse Integer2完成8String to Integer (atoi)2 9Palindrome Number2
10Regular Expression Matching5
11Container With Most Water3完成12Integer to Roman3完成13Roman to Integer2完成14Longest Common Prefix2 153Sum3
163Sum Closest3
17Letter Combinations of a Phone Number3
184Sum3
19Remove Nth Node From End of List2
20Valid Parentheses2
21Merge Two Sorted Lists2
22Generate Parentheses3 23Merge k Sorted Lists3
24Swap Nodes in Pairs2 25Reverse Nodes in k-Group4
26Remove Duplicates from Sorted Array1 27Remove Element1 28Implement strStr()4
29Divide Two Integers4
30Substring with Concatenation of All Words3 31Next Permutation5 32Longest Valid Parentheses4 33Search in Rotated Sorted Array4 34Search for a Range4 35Search Insert Position2 36Valid Sudoku2
37Sudoku Solver4
38Count and Say2
39Combination Sum3
40Combination Sum II4
41First Missing Positive5
42Trapping Rain Water4
43Multiply Strings4
44Wildcard Matching5
45Jump Game II4
46Permutations3
47Permutations II4
48Rotate Image4
49Anagrams3完成50Pow(x, n)3
51N-Queens4
52N-Queens II4
53Maximum Subarray3
54Spiral Matrix4
55Jump Game3 56Merge Intervals4
57Insert Interval4
58Length of Last Word1 59Spiral Matrix II3 60Permutation Sequence5
61Rotate List3 62Unique Paths2 63Unique Paths II3 64Minimum Path Sum3 65Valid Number2 66Plus One1 67Add Binary2
68Text Justification4 69Sqrt(x)4 70Climbing Stairs2 71Simplify Path3 72Edit Distance4
73Set Matrix Zeroes3 74Search a 2D Matrix3 75Sort Colors4
76Minimum Window Substring4 77Combinations3 78Subsets3
79Word Search3 80Remove Duplicates from Sorted Array II2 81Search in Rotated Sorted Array II5 82Remove Duplicates from Sorted List II3
83Remove Duplicates from Sorted List1 84Largest Rectangle in Histogram5 85Maximal Rectangle5
86Partition List3 87Scramble String5
88Merge Sorted Array2
89Gray Code4 90Subsets II4
91Decode Ways3
92Reverse Linked List II3 93Restore IP Addresses3 94Binary Tree Inorder Traversal4
95Unique Binary Search Trees II4
96Unique Binary Search Trees3 97Interleaving String5
98Validate Binary Search Tree3 99Recover Binary Search Tree4 100Same Tree1 101Symmetric Tree1 102Binary Tree Level Order Traversal3 103Binary Tree Zigzag Level Order Traversal4
104Maximum Depth of Binary Tree1 105Construct Binary Tree from Preorder and Inorder Tr3
106Construct Binary Tree from Inorder and Postorder T3
107Binary Tree Level Order Traversal II3 108Convert Sorted Array to Binary Search Tree2 109Convert Sorted List to Binary Search Tree4
110Balanced Binary Tree1 111Minimum Depth of Binary Tree1 112Path Sum1 113Path Sum II2 114Flatten Binary Tree to Linked List3
115Distinct Subsequences4 116Populating Next Right Pointers in Each Node3 117Populating Next Right Pointers in Each Node II4 118Pascal's Triangle2 119Pascal's Triangle II2 120Triangle3 121Best Time to Buy and Sell Stock2 122Best Time to Buy and Sell Stock II3 123Best Time to Buy and Sell Stock III4 124Binary Tree Maximum Path Sum4 125Valid Palindrome2 126Word Ladder II1 127Word Ladder3
128Longest Consecutive Sequence4 129Sum Root to Leaf Numbers2 130Surrounded Regions4
131Palindrome Partitioning3 132Palindrome Partitioning II4
考频数据结构算法
5array sort
set Two Pointers
4linked list Two Pointers
Math
2string Two Pointers
hashtable
3array Binary Search
2string
1string
3Math
5string Math
2Math
3string Recursion
DP
2array Two Pointers
4Math
4Math
1string
5array Two Pointers
1array Two Pointers
3string DFS
2array
3linked list Two Pointers
5string Stack
5linked list sort
Two Pointers
merge
4string DFS
4linked list sort
heap Two Pointers
merge
4linked list
2linked list Recursion
Two Pointers 3array Two Pointers 4array Two Pointers 5string Two Pointers
KMP
rolling hash 3Binary Search
Math
1string Two Pointers 2array permutation 1string DP
3array Binary Search 3array Binary Search 2array
2array
2array DFS
2string Two Pointers 3array combination 2array combination 2array sort
2array Two Pointers
Stack
3string Two Pointers
Math
3string Recursion
DP
greedy
2array
4array permutation 2array permutation 2array
4string
hashtable
5Binary Search
Math
3array DFS
3array DFS
3array DP
2array
5array sort
linked list merge
red-black tree
5array sort
linked list merge
red-black tree
1string
2array
1permutation
Math
2linked list Two Pointers 3array DP
3array DP
3array DP
5string Math
2array Math
4string Two Pointers
Math
2string
4Binary Search 5DP
1string Stack
3string DP
3array Binary Search 2array sort
Two Pointers 2string Two Pointers 4combination 4array Recursion
combination 4array DFS
2array Two Pointers 3array Binary Search 3linked list Recursion
Two Pointers 3linked list
2array Stack
1array DP
Stack
3linked list Two Pointers 2string Recursion
DP
5array Two Pointers
merge
2combination 2array Recursion
combination 4string Recursion
DP
2linked list Two Pointers 3string DFS
3tree Recursion hashtable morris
Stack
1tree DP
DFS
1tree DP
2string Recursion
DP
5tree DFS
2tree DFS
1tree DFS
2tree DFS
4tree BFS
3queue BFS
tree Stack
1tree DFS
3array DFS
tree
3array DFS
tree
1tree BFS
3tree DFS
3linked list Recursion
Two Pointers 2tree DFS
1tree DFS
3tree DFS
2tree DFS
3tree Recursion
Stack
2string DP
3tree DFS
2tree DFS
1array
1array
1array DP
1array DP
1array greedy
1array DP
2tree DFS
5string Two Pointers 1
5graph BFS
shortest path 3array
4tree DFS
3array BFS
DFS
4string DFS
3string DP