leetcode
何足道哉.
这个作者很懒,什么都没留下…
展开
-
Leetcode【17】:4Sum
题目:给一个数组,找出其中的4个数字等于target。和3sum没什么区别吧,加原创 2014-08-17 10:36:30 · 214 阅读 · 0 评论 -
Leetcode【16】:3Sum Closest
题目:和上题思路类似,但是细节原创 2014-08-17 10:05:23 · 243 阅读 · 0 评论 -
Leetcode【15】:3Sum
题目:给定一个数组,求三个数字之和等于0的原创 2014-08-17 00:23:49 · 261 阅读 · 0 评论 -
Leetcode【60】: Permutation Sequence
题目原创 2014-08-20 23:50:31 · 90 阅读 · 0 评论 -
Leetcode【49】:Anagrams
题目原创 2014-08-20 23:44:53 · 64 阅读 · 0 评论 -
Leetcode【19】:Remove Nth Node From End of List
题目:删除一个链表的倒数第N个结点,即原创 2014-08-17 12:27:38 · 220 阅读 · 0 评论 -
Leetcode【20】:Valid Parentheses
题目:给定一个有()[]{}构成的string原创 2014-08-17 12:39:38 · 186 阅读 · 0 评论 -
Leetcode【43】:Multiply Strings
题目原创 2014-08-19 14:28:48 · 68 阅读 · 0 评论 -
Leetcode【28】:Divide Two Integers
题目:不用乘除和取模运算实现两个整数的除法。分析:不用原创 2014-08-18 12:53:47 · 322 阅读 · 0 评论 -
Leetcode【41】:Trapping Rain Water
题目原创 2014-08-19 14:27:52 · 67 阅读 · 0 评论 -
Leetcode【48】:Rotate Image
题目原创 2014-08-19 14:32:09 · 73 阅读 · 0 评论 -
Leetcode【27】:Implement strStr
题目:实现strStr函数,给定2个字符串,返回原创 2014-08-18 00:33:57 · 217 阅读 · 0 评论 -
Leetcode【26】:Remove Element
题目:给定一个sorted数组,删除数组中等于element的元素。分析:和25题类似,25题是原创 2014-08-18 00:23:27 · 267 阅读 · 0 评论 -
Leetcode【25】:Remove Duplicates from Sorted Array
题目:给定一个sorted数组,删除其中原创 2014-08-18 00:20:04 · 174 阅读 · 0 评论 -
Leetcode【24】:Reverse Nodes in k-Group
题目:是23题2个结点一翻转的扩展,给一个链表,原创 2014-08-17 23:54:39 · 272 阅读 · 0 评论 -
Leetcode【23】:Swap Nodes in Pairs
题目:给定一个链表,从头翻转2个相邻结点。比如1->2->3->4->5->6->7,返回2->1-原创 2014-08-17 19:57:36 · 295 阅读 · 0 评论 -
Leetcode【22】:Merge K sorted lists
题目:合并K个已排序链表。原创 2014-08-17 19:53:03 · 242 阅读 · 0 评论 -
Leetcode【21】:Generate Praentheses
题目:给定一个整数,求能生成的合法的括号配对串。如给了个3,凡原创 2014-08-17 19:45:26 · 261 阅读 · 0 评论 -
Leetcode【18】:Letter Combinations
题目:给一个数字串,对应与原创 2014-08-17 12:24:02 · 286 阅读 · 0 评论 -
Leetcode【63】:Unique Paths II
题目原创 2014-08-20 23:50:30 · 95 阅读 · 0 评论 -
Leetcode【44】:Wildcard Matching
题目原创 2014-08-19 14:27:24 · 79 阅读 · 0 评论 -
Leetcode【1】:Two Sum
问题https://leetcode.com/problems/two-sum/Given an array of integers, returnindicesof the two numbers such that they add up to a specific target.You may assume that each input would haveexactly...原创 2014-06-06 08:15:32 · 347 阅读 · 0 评论 -
Leetcode【12】:Inter to Roman
题目:把一个1~3999的int转换成罗马数字写法(返回string)。原创 2014-06-26 17:09:58 · 274 阅读 · 0 评论 -
Leetcode【11】:Container With Most Water
题目:原创 2014-06-26 17:04:37 · 264 阅读 · 0 评论 -
Leetcode【14】:Longest Conmon Prefix
题目:求解一个string数组各元素的公共前缀子串。1。原创 2014-06-27 08:53:06 · 200 阅读 · 0 评论 -
Leetcode【13】:Roman to Integer
题目:是12题的逆向,给难度不大。原创 2014-06-26 20:47:07 · 343 阅读 · 0 评论 -
Leetcode【30】:Next Permutation
题目:原创 2014-08-19 14:16:55 · 233 阅读 · 0 评论 -
Leetcode【45】:Jump Game II
题目原创 2014-08-19 14:29:59 · 64 阅读 · 0 评论 -
Leetcode【59】:Spiral Matrix II
题目原创 2014-08-20 23:50:04 · 97 阅读 · 0 评论 -
leetcode【58】:Length of Last Word
题目原创 2014-08-20 23:49:33 · 68 阅读 · 0 评论 -
Leetcode【57】:Insert Interval
题目原创 2014-08-20 23:49:11 · 67 阅读 · 0 评论 -
Leetcode【52】:N-Queens II
题目原创 2014-08-20 23:44:58 · 75 阅读 · 0 评论 -
Leetocode【50】:Pow(x, n)
题目原创 2014-08-20 23:45:30 · 71 阅读 · 0 评论 -
Leetcode【47】:Permutations II
题目原创 2014-08-19 14:29:48 · 83 阅读 · 0 评论 -
Leetcode【46】:Permutations
题目原创 2014-08-19 14:31:08 · 80 阅读 · 0 评论 -
Leetcode【42】:Trapping Rain Water
题目原创 2014-08-19 14:28:15 · 86 阅读 · 0 评论 -
Leetcode【29】:Substring with Concatenation of All Words
题目:原创 2014-08-19 14:15:57 · 280 阅读 · 0 评论