个人觉得find命令是很强大的文件查找命令,可以根据1:文件名2:文件类型3:文件时间4:文件大小5:目录深度6:权限7:正则表达式进行查找8:查找用户所拥有的文件,并能结合9:exec进行更多的操作1:基于文件名find查找目录-name查找内容2:基于文件类型find查找目录-type[d目..
分类:
其他好文 时间:
2015-06-21 00:50:57
阅读次数:
134
Given a string S, find the longest palindromic substring in S. You may assume that the maximum length of S is 1000, and there exists one unique longes...
分类:
其他好文 时间:
2015-06-20 22:00:33
阅读次数:
219
1.Contains Duplicate 题目链接 题目要求: Given an array of integers, find if the array contains any duplicates. Your function should return true if any val...
分类:
其他好文 时间:
2015-06-20 20:50:33
阅读次数:
118
Find a wayTime Limit: 3000/1000 MS (Java/Others)Memory Limit: 32768/32768 K (Java/Others)Total Submission(s): 5401Accepted Submission(s): 1823Problem ...
分类:
其他好文 时间:
2015-06-20 20:46:47
阅读次数:
110
因为数据要求。经常需要抓住和筛选过滤数据,大概花了7 8个月。改变了机旁数据。重新开始,发现“No space left on device”解决方法:直接删除日志(简单粗暴): 删除全部的日志:find /var -type f -exec rm -v {} \;(最后的分号也是必须命令的一部分)...
分类:
系统相关 时间:
2015-06-20 19:39:19
阅读次数:
196
https://leetcode.com/problems/minimum-size-subarray-sum/Given an array ofnpositive integers and a positive integers, find the minimal length of a suba...
分类:
其他好文 时间:
2015-06-20 18:26:47
阅读次数:
130
题目:
Longest Palindromic Substring
Given a string S,
find the longest palindromic substring in S. You may assume that the maximum length of S is
1000, and there exists one unique longest...
分类:
其他好文 时间:
2015-06-20 17:07:53
阅读次数:
126
Description: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, g...
分类:
其他好文 时间:
2015-06-20 17:02:52
阅读次数:
92
题目链接 题目要求: Given an array of integers, every element appearstwiceexcept for one. Find that single one. Note: Your algorithm should have a linear...
分类:
其他好文 时间:
2015-06-20 17:02:27
阅读次数:
102
Description:Given a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root node down to the...
分类:
其他好文 时间:
2015-06-20 15:36:39
阅读次数:
120