Given a string, find the first non-repeating character in it and return it's index. If it doesn't exist, return -1. Examples: Note: You may assume the ...
分类:
其他好文 时间:
2016-10-18 22:54:23
阅读次数:
104
题目: Given an array S of n integers, are there elements a, b, c, and d in S such that a + b + c + d = target? Find all unique quadruplets in the array ...
分类:
其他好文 时间:
2016-10-18 15:44:35
阅读次数:
228
find . -name "*.sh" -mtime -5 |xargs tar zcvf /tmp/log.tar.gz 解释: *.sh是查找以.sh结尾的文件,也可以是其他如:*.txt,*.log...... 如果你查找最近一周的可以将-5改为-7 这里用到了Linux的管道 ...
分类:
系统相关 时间:
2016-10-18 13:52:57
阅读次数:
178
public class Person { public int Id { get; set; } public string Name { get; set; } public int Age { get; set; } } private void button1_Click(object se ...
分类:
其他好文 时间:
2016-10-18 13:43:25
阅读次数:
178
Skip-gram model is to find word representations that are useful for predicting the surrounding words in a sentence or a document given a sequence of t ...
分类:
其他好文 时间:
2016-10-18 11:34:59
阅读次数:
282
The information in this document is useful if you are trying to programmatically find a built-in command, menu, or toolbar. The ICommandBars::Find and ...
分类:
其他好文 时间:
2016-10-18 09:24:36
阅读次数:
308
题意:给一个数N,找到一个N的倍数,其十进制只由0、1构成,输出其中一个就行。 分析:因为倍数只由0、1构成,故每次有两种方式移到下一状态:10N,10N+1。N最到位200故要用long long。 代码: ...
分类:
其他好文 时间:
2016-10-18 02:33:09
阅读次数:
175
1.使用find命令,找出占用空间较大的文件 find / -type f -size +5G —找到大于5G的文件,有work权限的情况下可以使用 find . -type f -size +10000k --linux 下查找大于10M的文件 find -type f -size +500k - ...
分类:
系统相关 时间:
2016-10-17 23:07:39
阅读次数:
165
jQuery(selector, [context]),相当于 $(context).find(selector) 或者 context.find(selector) 也适用于多表单下的简洁写法 ...
分类:
Web程序 时间:
2016-10-17 13:53:01
阅读次数:
220