ALL leetcode problem 题目详细解答汇总

本篇博文记录了博主本人leetcode的刷题经历,持续更新中,一方面是方便自己日后复习;另一方面也是给大家的检索提供便利。本帖汇总了博主已经做完的leetcode的所有题目链接,如果大家有什么建议或者是更好的解法,也请大家多多指教

推荐一个大神的博客,这篇博客写链表环写的很好:http://www.cnblogs.com/hiddenfox/p/3408931.html

编号 题目 难度 通过率 AC次数
1 Two Sum Easy  36.5%  
3 Longest Substring Without Repeating Characters Medium 24.5%  
5 Longest Palindromic Substring Medium 25.2%  
6 ZigZag Conversion Medium 27.0%  
8 String to Integer (atoi) Medium 13.9%  
10 Regular Expression Matching Hard    
11 Container With Most Water Medium    
14 Longest Common Prefix Easy 31.6%  
17 Letter Combinations of a Phone Number Medium    
19 Remove Nth Node From End of List Medium 34.0%  
20 Valid Parentheses Easy    
21 Merge Two Sorted Lists Easy 39.6%  
22 Generate Parentheses Medium    
23 Maximum Subarray Easy    
24 Swap Nodes in Pairs Medium    
25 Reverse Nodes in k-Group Hard   1
31 Next Permutation Medium    
32 Longest Valid Parentheses Hard    
42 Trapping Rain Water Hard   2
50 Pow(x, n) Medium    
55 Jump Game Medium    
58 Length of Last Word Easy    
61 Rotate List Medium    
62 unique-paths Medium    
63 Unique Paths II Medium    
66 Plus One Easy   1
69 Sqrt(x) Easy   1
75 Sort Colors Medium   2
80 Remove Duplicates from Sorted Array II Medium    
101 symmetric-tree Medium    
138 Copy List with Random Pointer Medium   1
141 Linked List Cycle Easy    
142 Linked List Cycle II Medium    
147 Insertion Sort List Medium    
148 Sort List Medium    
149 Max Points on a Line Hard    
150 Evaluate Reverse Polish Notation Medium    
160 Intersection of Two Linked Lists Easy    
198 Robber house Easy    
203 Remove Linked List Elements Easy    
206 Reverse Linked List Easy   2
209 209. Minimum Size Subarray Sum Medium   2
213 Robber House II Medium    
234 Palindrome Linked List Easy    
237 Delete Node in a Linked List Easy   1
238 Product of Array Except Self Medium 50.0%  
263 Ugly Number Easy    
283 Move Zeroes Easy 50.6%  
300 Longest Increasing Subsequence      
328 Odd Even Linked List Medium    
438 find-all-anagrams-in-a-string Easy    
461 Hamming Distance Easy 69.7%  
476 Number Complement Easy 61.0%  
477 Total Hamming Distance Medium 47.7%  
557 Reverse Words in a String III Easy 59.9%  
561 Array Partition I Easy 66.6%  
566 Reshape the Matrix Easy 58.2%  
667 Beautiful Arrangement II Medium 61.6%  
695 Max Area of Island Easy 52.2%  
821 Shortest Distance to a Character  Easy    
830 Positions of Large Groups Easy    

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

posted @ 2017-12-21 14:20  皇家大鹏鹏  阅读(491)  评论(0编辑  收藏  举报