摘要:
原题地址:https://oj.leetcode.com/problems/string-to-integer-atoi/题意:Implementatoito convert a string to an integer.Hint:Carefully consider all possible in... 阅读全文
posted @ 2014-06-09 14:20
南郭子綦
阅读(6961)
评论(0)
推荐(0)
摘要:
原题地址:https://oj.leetcode.com/problems/zigzag-conversion/题意:The string"PAYPALISHIRING"is written in a zigzag pattern on a given number of rows like thi... 阅读全文
posted @ 2014-06-09 13:42
南郭子綦
阅读(4303)
评论(0)
推荐(0)
摘要:
原题地址:https://oj.leetcode.com/problems/reverse-integer/题意:Reverse digits of an integer.Example1:x = 123, return 321Example2:x = -123, return -321解题思路:翻... 阅读全文
posted @ 2014-06-09 13:35
南郭子綦
阅读(4811)
评论(0)
推荐(0)
摘要:
原题地址:https://oj.leetcode.com/problems/longest-palindromic-substring/题意:Given a stringS, find the longest palindromic substring inS. You may assume tha... 阅读全文
posted @ 2014-06-09 13:25
南郭子綦
阅读(6941)
评论(0)
推荐(0)
摘要:
原题地址:https://oj.leetcode.com/problems/combination-sum-ii/题意:Given a collection of candidate numbers (C) and a target number (T), find all unique combi... 阅读全文
posted @ 2014-06-09 11:48
南郭子綦
阅读(3591)
评论(0)
推荐(0)
摘要:
原题地址:https://oj.leetcode.com/problems/combination-sum/题意:Given a set of candidate numbers (C) and a target number (T), find all unique combinations in... 阅读全文
posted @ 2014-06-09 11:32
南郭子綦
阅读(7947)
评论(6)
推荐(0)
摘要:
原题地址:https://oj.leetcode.com/problems/first-missing-positive/题意:Given an unsorted integer array, find the first missing positive integer.For example,G... 阅读全文
posted @ 2014-06-09 11:20
南郭子綦
阅读(2885)
评论(0)
推荐(0)
摘要:
原题地址:https://oj.leetcode.com/problems/search-in-rotated-sorted-array/题意:Suppose a sorted array is rotated at some pivot unknown to you beforehand.(i.e... 阅读全文
posted @ 2014-06-09 10:52
南郭子綦
阅读(3953)
评论(0)
推荐(0)
摘要:
原题地址:https://oj.leetcode.com/problems/scramble-string/题意:Given a strings1, we may represent it as a binary tree by partitioning it to two non-empty su... 阅读全文
posted @ 2014-06-09 10:39
南郭子綦
阅读(2319)
评论(0)
推荐(0)
摘要:
原题地址:https://oj.leetcode.com/problems/simplify-path/题意:Given an absolute path for a file (Unix-style), simplify it.For example,path="/home/", =>"/home... 阅读全文
posted @ 2014-06-09 09:53
南郭子綦
阅读(2900)
评论(0)
推荐(0)

浙公网安备 33010602011771号