这个列表中有78道题目,是leetcode上top interview questions中的。原本是有145道题目,但是部分题目和top 100 liked questions是重复的(见另一篇文章),
因此这里就只保留了和top 100列表中不同的题目。
7 Reverse Integer 25.20% Easy
8 String to Integer (atoi) 14.50% Medium
13 Roman to Integer 51.70% Easy
14 Longest Common Prefix 33.10% Easy
26 Remove Duplicates from Sorted Array 39.80% Easy
28 Implement strStr() 31.30% Easy
29 Divide Two Integers 16.10% Medium
36 Valid Sudoku 42.00% Medium
38 Count and Say 39.60% Easy
41 First Missing Positive 28.30% Hard
44 Wildcard Matching 22.40% Hard
50 Pow(x, n) 27.60% Medium
54 Spiral Matrix 29.70% Medium
66 Plus One 40.70% Easy
69 Sqrt(x) 30.70% Easy
73 Set Matrix Zeroes 39.00% Medium
88 Merge Sorted Array 34.90% Easy
91 Decode Ways 21.90% Medium
103 Binary Tree Zigzag Level Order Traversal 40.60% Medium
108 Convert Sorted Array to Binary Search Tree 49.40% Easy
116 Populating Next Right Pointers in Each Node 36.90% Medium
118 Pascal's Triangle 44.70% Easy
122 Best Time to Buy and Sell Stock II 51.00% Easy
125 Valid Palindrome 30.30% Easy
127 Word Ladder 23.10% Medium
130 Surrounded Regions 22.20% Medium
131 Palindrome Partitioning 39.70% Medium
134 Gas Station 33.00% Medium
138 Copy List with Random Pointer 25.90% Medium
140 Word Break II 26.70% Hard
149 Max Points on a Line 15.60% Hard
150 Evaluate Reverse Polish Notation 31.40% Medium
162 Find Peak Element 40.80% Medium
163 Missing Ranges 22.90% Medium
166 Fraction to Recurring Decimal 19.20% Medium
171 Excel Sheet Column Number 50.90% Easy
172 Factorial Trailing Zeroes 37.30% Easy
179 Largest Number 25.30% Medium
189 Rotate Array 29.10% Easy
190 Reverse Bits 30.30% Easy
191 Number of 1 Bits 42.10% Easy
202 Happy Number 44.40% Easy
204 Count Primes 28.30% Easy
210 Course Schedule II 33.80% Medium
212 Word Search II 27.70% Hard
217 Contains Duplicate 50.90% Easy
218 The Skyline Problem 31.10% Hard
227 Basic Calculator II 32.70% Medium
230 Kth Smallest Element in a BST 50.10% Medium
237 Delete Node in a Linked List 52.10% Easy
242 Valid Anagram 51.10% Easy
251 Flatten 2D Vector 43.40% Medium
268 Missing Number 47.60% Easy
269 Alien Dictionary 30.10% Hard
277 Find the Celebrity 35.60% Medium
285 Inorder Successor in BST 33.50% Medium
289 Game of Life 43.60% Medium
295 Find Median from Data Stream 35.10% Hard
308 Range Sum Query 2D - Mutable 31.00% Hard
315 Count of Smaller Numbers After Self 37.40% Hard
324 Wiggle Sort II 27.50% Medium
326 Power of Three 41.40% Easy
328 Odd Even Linked List 48.20% Medium
329 Longest Increasing Path in a Matrix 39.30% Hard
334 Increasing Triplet Subsequence 39.50% Medium
340 Longest Substring with At Most K Distinct Characters 39.20% Hard
341 Flatten Nested List Iterator 46.90% Medium
344 Reverse String 62.80% Easy
348 Design Tic-Tac-Toe 48.70% Medium
350 Intersection of Two Arrays II 46.80% Easy
371 Sum of Two Integers 51.20% Easy
378 Kth Smallest Element in a Sorted Matrix 48.50% Medium
380 Insert Delete GetRandom O(1) 42.00% Medium
384 Shuffle an Array 49.50% Medium
387 First Unique Character in a String 49.30% Easy
395 Longest Substring with At Least K Repeating Characters 37.90% Medium
412 Fizz Buzz 58.90% Easy
454 4Sum II 49.90% Medium