https://www.infoq.com/articles/thoughts-on-test-automation-in-agile Start Small Balance the cost vs. ROI well and come up with a bare minimum working ...
分类:
其他好文 时间:
2019-03-27 00:20:26
阅读次数:
167
class Solution1(object): def minimumTotal(self, triangle): """ :type triangle: List[List[int]] :rtype: int """ self.dp(triangle) # i # i , i+1 def dp( ...
分类:
其他好文 时间:
2019-03-17 14:05:04
阅读次数:
147
Specific topics in Part 2 include: greedy algorithms (scheduling, minimum spanning trees, clustering, Huffman codes), dynamic programming (knapsack, s ...
分类:
其他好文 时间:
2019-03-15 09:15:23
阅读次数:
287
思路很好理解的。双下标,第一个固定,然后第二个在之后不断移动,如果比第一个下标指定的值大的话,就相减。 设一个temp等于差值,与上一次的maxpro进行比较,如果大的话,maxpro等于temp。 python: python这里用函数很方便,在价格最低那天买入,价格最高那天卖出,就会获得最大利润 ...
分类:
编程语言 时间:
2019-03-14 13:19:42
阅读次数:
212
Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from the root node down to the nearest l ...
分类:
其他好文 时间:
2019-03-10 09:16:10
阅读次数:
172
题目如下: In an array A containing only 0s and 1s, a K-bit flip consists of choosing a (contiguous) subarray of length K and simultaneously changing every ...
分类:
其他好文 时间:
2019-03-05 15:32:36
阅读次数:
213
There are N piles of stones arranged in a row. The i-th pile has stones[i] stones. A move consists of merging exactly K consecutive piles into one pil ...
分类:
其他好文 时间:
2019-03-04 09:25:03
阅读次数:
149
Dr. Frank ShihCS 659 Image Processing and AnalysisResearch Paper 1 GuidelineTotal: 20%In order to obtain full credits, you need to read and follow thi ...
分类:
其他好文 时间:
2019-03-02 19:59:29
阅读次数:
158
题目描述 给定一个含有 n 个正整数的数组和一个正整数 s ,找出该数组中满足其和 ≥ s 的长度最小的连续子数组。如果不存在符合条件的连续子数组,返回 0。 示例: 解题思路 记录当前的连续子数组和,若大于等于s,则以当前子数组的最左端为基准向后遍历,若去掉此数后当前连续子数组和仍大于等于s,就把 ...
分类:
编程语言 时间:
2019-03-01 15:30:01
阅读次数:
221