leetcode 目前上传的源码放到github,以后重新整理!(java和python实现方式): 题号 题目内容 题目难度 42 Trapping Rain Water Middle 84 Largest Rectangle in Histogram Middle *152 Maximum Product Subarray Hard 85 Maximal Rectangle Middle 322 Coin Change Hard 240 Search a 2D Matrix II Hard 621 Task Scheduler Middle 236 Lowest Common Ancestor of a Binary Tree Middle 114 Flatten Binary Tree to Linked List Middle 221 Maximal Square Middle 279 Perfect Squares Middle *337 House Robber III Middle 102 Binary Tree Level Order Traversal Middle 32 Longest Valid Parentheses Hard 94 Binary Tree Inorder Traversal Middle 62 Unique Paths Middle 11 Container With Most Water Middle 287 Find the Duplicate Number Middle *22 Generate Parentheses Middle 49 Group Anagrams Middle Longest Consecutive Sequence Middle *215 Kth Largest Element in an Array Middle 23 Merge k Sorted Lists Middle *55 Jump Game Middle 139 Word Break Middle 48 Rotate Image Middle 300 Longest Increasing Subsequence Middle 55 Jump Game Middle *64 Minimum Path Sum Middle 56 Merge Intervals Middle 72 Edit Distance Middle *142 Linked List Cycle II Middle 39 Combination Sum Middle 200 Number of Islands Middle 394 Decode String Middle 560 Subarray Sum Equals K Middle 406 Queue Reconstruction by Height Middle 416 Partition Equal Subset Sum Middle 4 Median of Two Sorted Arrays Middle *5 Longest Palindromic Substring Easy 538 Convert BST to Greater Tree Easy 572 Subtree of Another Tree Easy 543 Diameter of Binary Tree Easy 101 Symmetric Tree Easy 121 Best Time to Buy and Sell Stock Easy 581 Shortest Unsorted Continuous Subarray Easy 155 Min Stack Easy 160 Intersection of Two Linked Lists Easy 234 Palindrome Linked List Easy 53 Maximum Subarray Easy 148 Sort List Easy 647 Palindromic Substrings Easy 438 Find All Anagrams in a String Easy 70 Climbing Stairs Easy 437 Path Sum III Middle *198 House Robber Easy 21 Merge Two Sorted Lists Easy 3 Longest Substring Without Repeating Characters Easy 2 Add Two Numbers Easy 15 Three Sum Easy 448 Find All Numbers Disappeared in an Array Middle 283 Move Zeroes Easy 169 Majority Element Easy 226 Invert Binary Tree Easy 494 Target Sum Easy 104 Maximum Depth of Binary Tree Easy 617 Merge Two Binary Trees/a> Easy 461 Hamming Distance Easy 771 Jewels and Stones Easy 26 Remove Duplicates from Sorted Array Easy 167 Two Sum II - Input array is sorted Easy 66 Plus one Easy MergeArray Easy 347 Top K Frequent Elements Easy *606 Construct String from Binary Tree Easy 35 Search Insert Position Easy 206 Reverse Linked List Easy 141 Linked List Cycle Easy *268 Missing Number Easy *521 Longest Uncommon Subsequence I Easy 917 Reverse Only Letters Easy Binary Search Modification Easy 136 Single Number Easy 7 Reverse Integer Easy 349 Intersection of Two Arrays Easy 350 Intersection of Two Arrays II Easy Detect Capital Easy Reverse String II Easy 1 Two Sum Easy 19 Remove Nth Node From End of List Easy Find Middle Node Easy Sorted Question Easy * Compute Digit Easy 3 Pairs Of Parentheses Middle Joseph Problem Easy 其中加了*表示花了很长时间!题目没有进行分类,后期将对题目整理分类!