Skip to content
starforever edited this page Jan 17, 2016 · 12 revisions

Total: 320, Solved: 200

# Problem Status
1 Two Sum Accepted
2 Add Two Numbers Accepted
3 Longest Substring Without Repeating Characters Accepted
4 Median of Two Sorted Arrays Accepted
5 Longest Palindromic Substring Accepted
6 ZigZag Conversion Accepted
7 Reverse Integer Accepted
8 String to Integer (atoi) Accepted
9 Palindrome Number Accepted
10 Regular Expression Matching Accepted
11 Container With Most Water Accepted
12 Integer to Roman Accepted
13 Roman to Integer Accepted
14 Longest Common Prefix Accepted
15 3Sum Accepted
16 3Sum Closest Accepted
17 Letter Combinations of a Phone Number Accepted
18 4Sum Accepted
19 Remove Nth Node From End of List Accepted
20 Valid Parentheses Accepted
21 Merge Two Sorted Lists Accepted
22 Generate Parentheses Accepted
23 Merge k Sorted Lists Accepted
24 Swap Nodes in Pairs Accepted
25 Reverse Nodes in k-Group Accepted
26 Remove Duplicates from Sorted Array Accepted
27 Remove Element Accepted
28 Implement strStr() Accepted
29 Divide Two Integers Accepted
30 Substring with Concatenation of All Words Accepted
31 Next Permutation Accepted
32 Longest Valid Parentheses Accepted
33 Search in Rotated Sorted Array Accepted
34 Search for a Range Accepted
35 Search Insert Position Accepted
36 Valid Sudoku Accepted
37 Sudoku Solver Accepted
38 Count and Say Accepted
39 Combination Sum Accepted
40 Combination Sum II Accepted
41 First Missing Positive Accepted
42 Trapping Rain Water Accepted
43 Multiply Strings Accepted
44 Wildcard Matching Accepted
45 Jump Game II Accepted
46 Permutations Accepted
47 Permutations II Accepted
48 Rotate Image Accepted
49 Anagrams Accepted
50 Pow(x, n) Accepted
51 N-Queens Accepted
52 N-Queens II Accepted
53 Maximum Subarray Accepted
54 Spiral Matrix Accepted
55 Jump Game Accepted
56 Merge Intervals Accepted
57 Insert Interval Accepted
58 Length of Last Word Accepted
59 Spiral Matrix II Accepted
60 Permutation Sequence Accepted
61 Rotate List Accepted
62 Unique Paths Accepted
63 Unique Paths II Accepted
64 Minimum Path Sum Accepted
65 Valid Number Accepted
66 Plus One Accepted
67 Add Binary Accepted
68 Text Justification Accepted
69 Sqrt(x) Accepted
70 Climbing Stairs Accepted
71 Simplify Path Accepted
72 Edit Distance Accepted
73 Set Matrix Zeroes Accepted
74 Search a 2D Matrix Accepted
75 Sort Colors Accepted
76 Minimum Window Substring Accepted
77 Combinations Accepted
78 Subsets Accepted
79 Word Search Accepted
80 Remove Duplicates from Sorted Array II Accepted
81 Search in Rotated Sorted Array II Accepted
82 Remove Duplicates from Sorted List II Accepted
83 Remove Duplicates from Sorted List Accepted
84 Largest Rectangle in Histogram Accepted
85 Maximal Rectangle Accepted
86 Partition List Accepted
87 Scramble String Accepted
88 Merge Sorted Array Accepted
89 Gray Code Accepted
90 Subsets II Accepted
91 Decode Ways Accepted
92 Reverse Linked List II Accepted
93 Restore IP Addresses Accepted
94 Binary Tree Inorder Traversal Accepted
95 Unique Binary Search Trees II Accepted
96 Unique Binary Search Trees Accepted
97 Interleaving String Accepted
98 Validate Binary Search Tree Accepted
99 Recover Binary Search Tree Accepted
100 Same Tree Accepted
101 Symmetric Tree Accepted
102 Binary Tree Level Order Traversal Accepted
103 Binary Tree Zigzag Level Order Traversal Accepted
104 Maximum Depth of Binary Tree Accepted
105 Construct Binary Tree from Preorder and Inorder Traversal Accepted
106 Construct Binary Tree from Inorder and Postorder Traversal Accepted
107 Binary Tree Level Order Traversal II Accepted
108 Convert Sorted Array to Binary Search Tree Accepted
109 Convert Sorted List to Binary Search Tree Accepted
110 Balanced Binary Tree Accepted
111 Minimum Depth of Binary Tree Accepted
112 Path Sum Accepted
113 Path Sum II Accepted
114 Flatten Binary Tree to Linked List Accepted
115 Distinct Subsequences Accepted
116 Populating Next Right Pointers in Each Node Accepted
117 Populating Next Right Pointers in Each Node II Accepted
118 Pascal's Triangle Accepted
119 Pascal's Triangle II Accepted
120 Triangle Accepted
121 Best Time to Buy and Sell Stock Accepted
122 Best Time to Buy and Sell Stock II Accepted
123 Best Time to Buy and Sell Stock III Accepted
124 Binary Tree Maximum Path Sum Accepted
125 Valid Palindrome Accepted
126 Word Ladder II Accepted
127 Word Ladder Accepted
128 Longest Consecutive Sequence Accepted
129 Sum Root to Leaf Numbers Accepted
130 Surrounded Regions Accepted
131 Palindrome Partitioning Accepted
132 Palindrome Partitioning II Accepted
133 Clone Graph Accepted
134 Gas Station Accepted
135 Candy Accepted
136 Single Number Accepted
137 Single Number II Accepted
138 Copy List with Random Pointer Accepted
139 Word Break Accepted
140 Word Break II Accepted
141 Linked List Cycle Accepted
142 Linked List Cycle II Accepted
143 Reorder List Accepted
144 Binary Tree Preorder Traversal Accepted
145 Binary Tree Postorder Traversal Accepted
146 LRU Cache Accepted
147 Insertion Sort List Accepted
148 Sort List Accepted
149 Max Points on a Line Accepted
150 Evaluate Reverse Polish Notation Accepted
151 Reverse Words in a String Accepted
152 Maximum Product Subarray Accepted
153 Find Minimum in Rotated Sorted Array Accepted
154 Find Minimum in Rotated Sorted Array II Accepted
155 Min Stack Accepted
156 Binary Tree Upside Down Accepted
157 Read N Characters Given Read4 Accepted
158 Read N Characters Given Read4 II - Call multiple times Accepted
159 Longest Substring with At Most Two Distinct Characters Accepted
160 Intersection of Two Linked Lists Accepted
161 One Edit Distance Accepted
162 Find Peak Element Accepted
163 Missing Ranges Accepted
164 Maximum Gap Accepted
165 Compare Version Numbers Accepted
166 Fraction to Recurring Decimal Accepted
167 Two Sum II - Input array is sorted Accepted
168 Excel Sheet Column Title Accepted
169 Majority Element Accepted
170 Two Sum III - Data structure design Accepted
171 Excel Sheet Column Number Accepted
172 Factorial Trailing Zeroes Accepted
173 Binary Search Tree Iterator Accepted
174 Dungeon Game Accepted
175 Combine Two Tables
176 Second Highest Salary
177 Nth Highest Salary
178 Rank Scores
179 Largest Number Accepted
180 Consecutive Numbers
181 Employees Earning More Than Their Managers
182 Duplicate Emails
183 Customers Who Never Order
184 Department Highest Salary
185 Department Top Three Salaries
186 Reverse Words in a String II Accepted
187 Repeated DNA Sequences Accepted
188 Best Time to Buy and Sell Stock IV Accepted
189 Rotate Array Accepted
190 Reverse Bits Accepted
191 Number of 1 Bits Accepted
192 Word Frequency
193 Valid Phone Numbers
194 Transpose File
195 Tenth Line
196 Delete Duplicate Emails
197 Rising Temperature
198 House Robber Accepted
199 Binary Tree Right Side View Accepted
200 Number of Islands Accepted
201 Bitwise AND of Numbers Range Accepted
202 Happy Number Accepted
203 Remove Linked List Elements Accepted
204 Count Primes Accepted
205 Isomorphic Strings Accepted
206 Reverse Linked List Accepted
207 Course Schedule Accepted
208 Implement Trie (Prefix Tree) Accepted
209 Minimum Size Subarray Sum Accepted
210 Course Schedule II Accepted
211 Add and Search Word - Data structure design Accepted
212 Word Search II Accepted
213 House Robber II Accepted
214 Shortest Palindrome Accepted
215 Kth Largest Element in an Array Accepted
216 Combination Sum III Accepted
217 Contains Duplicate
218 The Skyline Problem
219 Contains Duplicate II
220 Contains Duplicate III
221 Maximal Square
222 Count Complete Tree Nodes
223 Rectangle Area
224 Basic Calculator
225 Implement Stack using Queues
226 Invert Binary Tree
227 Basic Calculator II
228 Summary Ranges
229 Majority Element II
230 Kth Smallest Element in a BST
231 Power of Two
232 Implement Queue using Stacks
233 Number of Digit One
234 Palindrome Linked List
235 Lowest Common Ancestor of a Binary Search Tree
236 Lowest Common Ancestor of a Binary Tree
237 Delete Node in a Linked List
238 Product of Array Except Self
239 Sliding Window Maximum
240 Search a 2D Matrix II
241 Different Ways to Add Parentheses
242 Valid Anagram
243 Shortest Word Distance
244 Shortest Word Distance II
245 Shortest Word Distance III
246 Strobogrammatic Number
247 Strobogrammatic Number II
248 Strobogrammatic Number III
249 Group Shifted Strings
250 Count Univalue Subtrees
251 Flatten 2D Vector
252 Meeting Rooms
253 Meeting Rooms II
254 Factor Combinations
255 Verify Preorder Sequence in Binary Search Tree
256 Paint House
257 Binary Tree Paths
258 Add Digits
259 3Sum Smaller
260 Single Number III
261 Graph Valid Tree
262 Trips and Users
263 Ugly Number
264 Ugly Number II
265 Paint House II
266 Palindrome Permutation
267 Palindrome Permutation II
268 Missing Number
269 Alien Dictionary
270 Closest Binary Search Tree Value
271 Encode and Decode Strings
272 Closest Binary Search Tree Value II
273 Integer to English Words
274 H-Index
275 H-Index II
276 Paint Fence
277 Find the Celebrity
278 First Bad Version
279 Perfect Squares
280 Wiggle Sort
281 Zigzag Iterator
282 Expression Add Operators
283 Move Zeroes
284 Peeking Iterator
285 Inorder Successor in BST
286 Walls and Gates
287 Find the Duplicate Number
288 Unique Word Abbreviation
289 Game of Life
290 Word Pattern
291 Word Pattern II
292 Nim Game
293 Flip Game
294 Flip Game II
295 Find Median from Data Stream
296 Best Meeting Point
297 Serialize and Deserialize Binary Tree
298 Binary Tree Longest Consecutive Sequence
299 Bulls and Cows
300 Longest Increasing Subsequence
301 Remove Invalid Parentheses
302 Smallest Rectangle Enclosing Black Pixels
303 Range Sum Query - Immutable
304 Range Sum Query 2D - Immutable
305 Number of Islands II
306 Additive Number
307 Range Sum Query - Mutable
308 Range Sum Query 2D - Mutable
309 Best Time to Buy and Sell Stock with Cooldown
310 Minimum Height Trees
311 Sparse Matrix Multiplication
312 Burst Balloons
313 Super Ugly Number
314 Binary Tree Vertical Order Traversal
315 Count of Smaller Numbers After Self
316 Remove Duplicate Letters
317 Shortest Distance from All Buildings
318 Maximum Product of Word Lengths
319 Bulb Switcher
320 Generalized Abbreviation
Clone this wiki locally