
双向扫描
文章平均质量分 73
jmspan
这个作者很懒,什么都没留下…
展开
-
LeetCode 238. Product of Array Except Self(数组元素的乘积)
原题网址:https://leetcode.com/problems/product-of-array-except-self/Given an array of n integers where n > 1, nums, return an array output such that output[i] is equal to the product of all the原创 2016-04-06 07:18:29 · 497 阅读 · 0 评论 -
LeetCode 296. Best Meeting Point(最佳见面点)
原题网址:https://leetcode.com/problems/best-meeting-point/A group of two or more people wants to meet and minimize the total travel distance. You are given a 2D grid of values 0 or 1, where each 1 m原创 2016-04-16 14:26:39 · 4592 阅读 · 1 评论 -
LeetCode 123. Best Time to Buy and Sell Stock III(股票买卖)
原题网址:https://leetcode.com/problems/best-time-to-buy-and-sell-stock-iii/Say you have an array for which the ith element is the price of a given stock on day i.Design an algorithm to find the原创 2016-05-24 00:37:21 · 641 阅读 · 0 评论