上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页
摘要: 原题地址:https://oj.leetcode.com/problems/container-with-most-water/题意:Givennnon-negative integersa1,a2, ...,an, where each represents a point at coordina... 阅读全文
posted @ 2014-06-10 10:46 南郭子綦 阅读(3300) 评论(0) 推荐(0) 编辑
摘要: 原题地址:https://oj.leetcode.com/problems/palindrome-number/题意:Determine whether an integer is a palindrome. Do this without extra space.click to show spo... 阅读全文
posted @ 2014-06-10 10:12 南郭子綦 阅读(4112) 评论(0) 推荐(0) 编辑
摘要: 原题地址:https://oj.leetcode.com/problems/divide-two-integers/题意:Divide two integers without using multiplication, division and mod operator.解题思路:不许用乘、除和求... 阅读全文
posted @ 2014-06-10 09:55 南郭子綦 阅读(5124) 评论(0) 推荐(0) 编辑
摘要: 原题地址: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 南郭子綦 阅读(6941) 评论(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 南郭子綦 阅读(4285) 评论(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 南郭子綦 阅读(4797) 评论(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 南郭子綦 阅读(6926) 评论(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 南郭子綦 阅读(3579) 评论(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 南郭子綦 阅读(7932) 评论(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 南郭子綦 阅读(2869) 评论(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 南郭子綦 阅读(3938) 评论(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 南郭子綦 阅读(2299) 评论(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 南郭子綦 阅读(2883) 评论(0) 推荐(0) 编辑
摘要: 原题地址:https://oj.leetcode.com/problems/add-binary/题意:Given two binary strings, return their sum (also a binary string).For example,a ="11"b ="1"Return"... 阅读全文
posted @ 2014-06-08 11:45 南郭子綦 阅读(3934) 评论(2) 推荐(0) 编辑
摘要: 原题地址:https://oj.leetcode.com/problems/search-for-a-range/题意:Given a sorted array of integers, find the starting and ending position of a given target ... 阅读全文
posted @ 2014-06-08 10:42 南郭子綦 阅读(3204) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 12 下一页