2015年4月28日

摘要: Title: Given a matrix of m x n elements (m rows, n columns), return all elements of the matrix in spiral order. For example,Given the following matrix 阅读全文
posted @ 2015-04-28 13:36 月下之风 阅读(125) 评论(0) 推荐(0) 编辑

2015年4月27日

摘要: Title: Given a string s consists of upper/lower-case alphabets and empty space characters ' ', return the length of last word in the string. If the la 阅读全文
posted @ 2015-04-27 11:08 月下之风 阅读(128) 评论(0) 推荐(0) 编辑
摘要: (1)Merge Intervals https://leetcode.com/problems/merge-intervals/ Given a collection of intervals, merge all overlapping intervals. For example,Given  阅读全文
posted @ 2015-04-27 09:41 月下之风 阅读(627) 评论(0) 推荐(0) 编辑

2015年4月26日

摘要: Title : Given an array of non-negative integers, you are initially positioned at the first index of the array. Each element in the array represents yo 阅读全文
posted @ 2015-04-26 10:10 月下之风 阅读(167) 评论(0) 推荐(0) 编辑

2015年4月24日

摘要: Title: Given two numbers represented as strings, return multiplication of the numbers as a string. Note: The numbers can be arbitrarily large and are 阅读全文
posted @ 2015-04-24 14:34 月下之风 阅读(157) 评论(0) 推荐(0) 编辑

2015年4月23日

摘要: Title: Given n non-negative integers representing an elevation map where the width of each bar is 1, compute how much water it is able to trap after r 阅读全文
posted @ 2015-04-23 14:09 月下之风 阅读(349) 评论(0) 推荐(0) 编辑
摘要: Title: Given an unsorted integer array, find the first missing positive integer. For example,Given [1,2,0] return 3,and [3,4,-1,1] return 2. Your algo 阅读全文
posted @ 2015-04-23 10:36 月下之风 阅读(118) 评论(0) 推荐(0) 编辑

2015年4月22日

摘要: Title: https://leetcode.com/problems/combination-sum/ Given a set of candidate numbers (C) and a target number (T), find all unique combinations in C  阅读全文
posted @ 2015-04-22 09:54 月下之风 阅读(305) 评论(0) 推荐(0) 编辑

2015年4月21日

摘要: Title: Given a sorted array of integers, find the starting and ending position of a given target value. Your algorithm's runtime complexity must be in 阅读全文
posted @ 2015-04-21 14:28 月下之风 阅读(132) 评论(0) 推荐(0) 编辑
摘要: Title: Suppose a sorted array is rotated at some pivot unknown to you beforehand. (i.e., 0 1 2 4 5 6 7 might become 4 5 6 7 0 1 2). You are given a ta 阅读全文
posted @ 2015-04-21 14:24 月下之风 阅读(202) 评论(0) 推荐(0) 编辑

导航