题目链接:https://leetcode.com/problems/minimum-size-subarray-sum/
题目:
Given an array of n positive integers and a positive integer s, find the minimal length of a subarray of which the sum ≥ s. If t...
分类:
其他好文 时间:
2016-05-27 12:31:29
阅读次数:
180
题目链接:https://leetcode.com/problems/minimum-window-substring/
题目:
Given a string S and a string T, find the minimum window in S which will contain all the characters in T in complexity O(n).
F...
查询命令find
* find [指定查找目录] [查找规则] [查找完后执行的action]
* find ~/.m2 -name “*.lastUpdated” -exec grep -q “Could not transfer” {} \; -print -exec rm {} \;(查找以lastUpdated 为后缀的文件中包含 “Could not…”的文件,打印并删除他)(`*...
分类:
系统相关 时间:
2016-05-27 12:04:06
阅读次数:
242
题目链接:https://leetcode.com/problems/triangle/
题目:
Given a triangle, find the minimum path sum from top to bottom. Each step you may move to adjacent numbers on the row below.
For example, give...
分类:
其他好文 时间:
2016-05-27 11:52:32
阅读次数:
158
比左右两个元素大的元素我们称为顶点元素,在给定的一个数组中,没有连续的两个元素是相等的。找出这个数组中某一个顶点元素的下标,如果有多个,给出其中任意一个即可。可以默认在给定的数组两端还各有一个无穷小的元素,即数组[1]的顶点元素下标为0。...
分类:
其他好文 时间:
2016-05-27 11:35:39
阅读次数:
145
Interleaving String
Total Accepted: 49969 Total
Submissions: 220816 Difficulty: Hard
Given s1, s2, s3, find whether s3 is formed by the interleaving of s1 and s2.
For exampl...
分类:
其他好文 时间:
2016-05-27 11:31:42
阅读次数:
189
题目链接:https://leetcode.com/problems/minimum-path-sum/
题目:
Given a m x n grid filled with non-negative numbers, find a path from top left to bottom right which minimizes the sum of all numbers alo...
分类:
其他好文 时间:
2016-05-27 11:24:34
阅读次数:
132
出现这个错误在编译的时候完全没有问题,当你在浏览器加载的时候控制台就会报这个错误。解决办法是将bower.json文件中的 "jquery": "^1.11.3"中的“^”去掉变成 "jquery": "1.11.3"。 原始的bower.json文件如下: 然后变成如下: 然后执行bower ca ...
分类:
移动开发 时间:
2016-05-27 10:54:30
阅读次数:
128
\ svn 删除所有的 .svn文件 find . -name .svn -type d -exec rm -fr {} \; linux之cp/scp命令+scp命令详解 名称:cp 使用权限:所有使用者 使用方式: cp [options] source dest cp [options] so ...
分类:
其他好文 时间:
2016-05-26 17:18:09
阅读次数:
198
Linux下的find指令,灰常重要!Linux下的find指令在目录结构中,搜索文件并且执行指定的操作。1.命令格式findpathname-options[-print-exec-ok……]。2.命令功能在文件树种中查找文件,并作出相应处理(可能访问磁盘)。3.命令参数pathname:find命令所查找的目标路径。.表示当..
分类:
系统相关 时间:
2016-05-26 14:51:22
阅读次数:
233