码迷,mamicode.com
首页 > 数据库 > 详细

[LeetCode] Leetcode 题解索引 (C++/Java/Python/Sql)

时间:2015-02-27 13:40:00      阅读:576      评论:0      收藏:0      [点我收藏+]

标签:c++   python   数据库   leetcode   

全部最新的题解可以在 我的 github 上找,欢迎 star 和 watch ~
更新中~~


说明

这个系列的题解包括用 C++/Java/Python 写的 leetcode 上的算法题目,和 Sql 写的 leetcode 上的数据库题目。
有些题目虽然 AC 了却还没写分析,所以这次就开坑来完成。


链接:

我的 github
Leetcode Algorithms Problems
Leetcode Database Problems


CSDN 题解索引

001.Two_Sum (Medium)
002.Add_Two_Numbers (Medium)
003.Longest_Substring_Without_Repeating_Characters (Medium)
004.Median_of_Two_Sorted_Arrays (Hard)
005.Longest_Palindromic_Substring (Medium)


Github 题解索引

(最近见 我的 github

I have solved 127 / 189 problems.(=w=)

# Link to leetcode Solutions Note
001 Two Sum Cpp Java Py ?
002 Add Two Numbers Cpp Java Py ?
003 Longest Substring Without Repeating Characters Cpp Java Py ?
004 Median of Two Sorted Arrays Cpp Java Py ?
005 Longest Palindromic Substring Cpp Java Py ?
006 ZigZag Conversion Cpp Java Py ?
007 Reverse Integer Cpp Java Py ?
008 String to Integer Cpp Java Py ?
009 Palindrome Number Cpp -
010 Regular Expression Matching Cpp -
011 Container With Most Water Cpp -
012 Integer to Roman Cpp -
013 Roman to Integer Cpp -
014 Longest Common Prefix Cpp -
015 3Sum Cpp -
016 3Sum Closest Cpp -
017 Letter Combinations of a Phone Number Cpp -
018 4Sum Cpp -
019 Remove Nth Node From End of List Cpp -
020 Valid Parentheses Cpp -
021 Merge Two Sorted Lists Cpp -
022 Generate Parentheses Cpp -
023 Merge k Sorted Lists Cpp -
024 Swap Nodes in Pairs Cpp -
025 Reverse Nodes in k-Group Cpp -
026 Remove Duplicates from Sorted Array Cpp -
027 Remove Element Cpp -
028 Implement strStr() Cpp -
029 Divide Two Integers Cpp -
030 Substring with Concatenation of All Words Cpp -
031 Next Permutation Cpp -
032 Longest Valid Parentheses Cpp -
033 Search in Rotated Sorted Array Cpp -
034 Search for a Range Cpp -
035 Search Insert Position Cpp -
036 Valid Sudoku Cpp -
037 Sudoku Solver Cpp -
038 Count and Say Cpp -
039 Combination Sum Cpp -
040 Combination Sum II Cpp -
041 First Missing Positive Cpp -
042 Trapping Rain Water Cpp -
043 Multiply Strings Cpp -
044 Wildcard Matching Cpp -
045 Jump Game II Cpp -
046 Permutations Cpp -
047 Permutations II Cpp -
048 Rotate Image Cpp -
049 Anagrams Cpp -
050 Pow(x, n) Cpp -
051 N-Queens Cpp Java Py -
052 N-Queens II Cpp Java Py -
053 Maximum Subarray Cpp -
054 Spiral Matrix Cpp -
055 Jump Game Cpp -
056 Merge Intervals Cpp -
057 Insert Interval Cpp -
058 Length of Last Word Cpp -
059 Spiral Matrix II Cpp -
060 Permutation Sequence Cpp -
061 Rotate List Cpp -
062 Unique Paths Cpp -
063 Unique Paths II Cpp -
064 Minimum Path Sum Cpp -
065 Valid Number Cpp Java Py -
066 Plus One Cpp -
067 Add Binary Cpp -
068 Text Justification - -
069 Sqrt(x) Cpp Java Py -
070 Climbing Stairs Cpp -
071 Simplify Path Cpp Java Py -
072 Edit Distance Cpp -
073 Set Matrix Zeroes Cpp -
074 Search a 2D Matrix Cpp -
075 Sort Colors Cpp -
076 Minimum Window Substring - -
077 Combinations Cpp -
078 Subsets Cpp Java Py -
079 Word Search Cpp -
080 Remove Duplicates from Sorted Array II Cpp -
081 Search in Rotated Sorted Array II Cpp -
082 Remove Duplicates from Sorted List II Cpp -
083 Remove Duplicates from Sorted List Cpp -
084 Largest Rectangle in Histogram - -
085 Maximal Rectangle - -
086 Partition List Cpp Java Py -
087 Scramble String - -
088 Merge Sorted Array Cpp -
089 Gray Code Cpp Java Py -
090 Subsets II Cpp Java Py -
091 Decode Ways Cpp Java Py -
092 Reverse Linked List II Cpp -
093 Restore IP Addresses - -
094 Binary Tree Inorder Traversal Cpp -
095 Unique Binary Search Trees Cpp -
096 Unique Binary Search Trees II - -
097 Interleaving String - -
098 Validate Binary Search Tree - -
099 Recover Binary Search Tree - -
100 Same Tree Cpp -
101 Symmetric Tree Cpp -
102 Binary Tree Level Order Traversal Cpp -
103 Binary Tree Zigzag Level Order Traversal - -
104 Maximum Depth of Binary Tree Cpp -
105 Construct Binary Tree from Preorder and Inorder Traversal - -
106 Construct Binary Tree from Inorder and Postorder Traversal - -
107 Binary Tree Level Order Traversal II Cpp -
108 Convert Sorted Array to Binary Search Tree - -
109 Convert Sorted List to Binary Search Tree - -
110 Balanced Binary Tree Cpp -
111 Minimum Depth of Binary Tree Cpp -
112 Path Sum Cpp -
113 Path Sum II Cpp Java Py -
114 Flatten Binary Tree to Linked List - -
115 Distinct Subsequences - -
116 Populating Next Right Pointers in Each Node Cpp Java Py -
117 Populating Next Right Pointers in Each Node II Cpp Java Py -
118 Pascals Triangle Cpp -
119 Pascal’s Triangle II Cpp -
120 Triangle Cpp Java Py -
121 Best Time to Buy and Sell Stock - -
122 Best Time to Buy and Sell Stock II - -
123 Best Time to Buy and Sell Stock III - -
124 Binary Tree Maximum Path Sum - -
125 Valid Palindrome Cpp -
126 Word Ladder - -
127 Word Ladder II - -
128 Longest Consecutive Sequence - -
129 Sum Root to Leaf Numbers Cpp -
130 Surrounded Regions - -
131 Palindrome Partitioning - -
132 Palindrome Partitioning II - -
133 Clone Graph Cpp -
134 Gas Station - -
135 Candy - -
136 Single Number Cpp -
137 Single Number II Cpp -
138 Copy List with Random Pointer - -
139 Word Break - -
140 Word Break II - -
141 Linked List Cycle Cpp -
142 Linked List Cycle II - -
143 Reorder List Cpp -
144 Binary Tree Preorder Traversal Cpp -
145 Binary Tree Postorder Traversal Cpp -
146 LRU Cache - -
147 Insertion Sort List Cpp -
148 Sort List - -
149 Max Points on a Line - -
150 Evaluate Reverse Polish Notation - -
151 Reverse Words in a String - -
152 Maximum Product Subarray Cpp -
153 Find Minimum in Rotated Sorted Array - -
154 Find Minimum in Rotated Sorted Array II - -
155 Min Stack Cpp -
156 Binary Tree Upside Down - -
157 Read N Characters Given Read4 - -
158 Read N Characters Given Read4 II - Call multiple times - -
159 Longest Substring with At Most Two Distinct Characters - -
160 Intersection of Two Linked Lists Cpp -
161 One Edit Distance - -
162 Find Peak Element Cpp Java Py -
163 Missing Ranges - -
164 Maximum Gap - -
165 Compare Version Numbers Cpp -
166 Fraction to Recurring Decimal - -
167 Two Sum II - Input array is sorted - -
168 Excel Sheet Column Title Cpp Java Py -
169 Majority Element Cpp Java Py -
170 Two Sum III - Data structure design - -
171 Excel Sheet Column Number Cpp Java Py -
172 Factorial Trailing Zeroes Cpp Java Py -
173 Binary Search Tree Iterator - -
174 Dungeon Game - -
175 Combine Two Tables Sql -
176 Second Highest Salary Sql -
177 Nth Highest Salary - -
178 Rank Scores - -
179 Largest Number Cpp Java Py -
180 Consecutive Numbers - -
181 Employees Earning More Than Their Managers - -
182 Duplicate Emails Sql -
183 Customers Who Never Order - -
184 Department Highest Salary - -
185 Department Top Three Salaries - -
186 Reverse Words in a String II - -
187 Repeated DNA Sequences Cpp Java Py -
188 Best Time to Buy and Sell Stock IV - -
189 Rotate Array - -

如果有什么错误请指出来,欢迎探讨~
留言或 Email: iilluzen at google’s mail service

[LeetCode] Leetcode 题解索引 (C++/Java/Python/Sql)

标签:c++   python   数据库   leetcode   

原文地址:http://blog.csdn.net/hcbbt/article/details/43966331

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!