题目:Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters...
分类:
其他好文 时间:
2015-12-08 15:53:31
阅读次数:
151
题目出处:https://leetcode.com/submissions/detail/47640173/题意描述:由于过于简洁,故不再翻译,具体描述见一下英文描述:Givennpoints on a 2D plane, find the maximum number of points that...
分类:
其他好文 时间:
2015-12-08 00:30:22
阅读次数:
146
find一些常用参数的一些常用实例和一些具体用法和注意事项。1.使用name选项:文件名选项是find命令最常用的选项,要么单独使用该选项,要么和其他选项一起使用。可以使用某种文件名模式来匹配文件,记住要用引号将文件名模式引起来。不管当前路径是什么,如果想要在自己的根目录$HOME中查找文件名符合*...
分类:
其他好文 时间:
2015-12-08 00:10:24
阅读次数:
233
我们经常在linux要查找某个文件,但不知道放在哪里了,可以使用下面的一些命令来搜索。这些是从网上找到的资料(参考资料1),因为有时很长时间不会用到,当要用的时候经常弄混了,所以放到这里方便使用。which查看可执行文件的位置whereis 查看文件的位置locate 配合数据库查看文件位置...
分类:
系统相关 时间:
2015-12-08 00:05:41
阅读次数:
177
我们经常在linux要查找某个文件,但不知道放在哪里了,可以使用下面的一些命令来搜索: which查看可执行文件的位置。 whereis查看文件的位置。 locate配合数据库查看文件位置。 find实际搜寻硬盘查询文件名称。which命令的作用是,在PATH变量指定的路径中,搜索某...
分类:
其他好文 时间:
2015-12-08 00:00:58
阅读次数:
129
Total Accepted:82026Total Submissions:379898Difficulty:MediumGiven a stringS, find the longest palindromic substring inS. You may assume that the maxi...
分类:
其他好文 时间:
2015-12-07 22:48:22
阅读次数:
294
Given a string, find the length of the longest substring without repeating characters. For example, the longest substring without repeating letters fo...
分类:
其他好文 时间:
2015-12-07 20:30:10
阅读次数:
183
Given a 2D matrixmatrix, find the sum of the elements inside the rectangle defined by its upper left corner (row1,col1) and lower right corner (row2,c...
分类:
其他好文 时间:
2015-12-07 18:35:33
阅读次数:
117
Continuous Subarray Sum IIGiven an circular integer array (the next element of the last element is the first element), find a continuous subarray in i...
分类:
其他好文 时间:
2015-12-07 18:24:44
阅读次数:
252
find ~/Library/Application\ Support/Developer/Shared/Xcode/Plug-ins -name Info.plist -maxdepth 3 | xargs -I{} defaults write {} DVTPlugInCompatibility...
分类:
移动开发 时间:
2015-12-07 18:08:38
阅读次数:
147