This question is not so difficult.
First,my thoughts were we should use a lot of code to find out the loop block,but there is no need to do that .
you just need to get every new position of char in ...
分类:
其他好文 时间:
2014-06-27 23:39:44
阅读次数:
293
Maximum Depth of Binary TreeGiven a binary tree, find its maximum depth.The maximum depth is the number of nodes along the longest path from the root ...
分类:
其他好文 时间:
2014-06-27 23:13:24
阅读次数:
218
USE 你的库名;GO-- 数据库空间使用情况EXEC sp_spaceused;-- 查下文件空间使用情况SELECT file_id, name, [文件大小(MB)] = size / 128., [未使用空间(MB)] = (size - FILEPROPERTY(name, N'Spac....
分类:
数据库 时间:
2014-06-27 23:05:10
阅读次数:
449
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 along its path.
分类:
其他好文 时间:
2014-06-27 23:02:33
阅读次数:
258
Givennnon-negative integers representing the histogram's bar height where the width of each bar is 1, find the area of largest rectangle in the histog...
分类:
其他好文 时间:
2014-06-27 23:01:16
阅读次数:
259
find命令主要用来在硬盘上搜索文件格式:find 目录路径 选项 关键字 动作[-print -exec -ok ]find -name "t*" -perm 744查找当前目录下文件名以t开头的,且文件属性主具有读、写、执行权限的文件。。。。find还有-exec选项,对匹配文件执行该参数过给出...
分类:
其他好文 时间:
2014-06-27 22:42:03
阅读次数:
510
Given a sorted array of integers, find the starting and ending position of a given target value.Your algorithm's runtime complexity must be in the ord...
分类:
其他好文 时间:
2014-06-27 22:25:10
阅读次数:
443
Given an unsorted integer array, find the first missing positive integer.For example,Given [1,2,0] return 3,and [3,4,-1,1] return 2.Your algorithm sho...
分类:
其他好文 时间:
2014-06-27 22:24:34
阅读次数:
346
服务器端配置挂载isocd1和cd2mkdir/tmp/cd{1,2}
mount/home/share/cd1.iso/tmp/cd1
mount/home/share/cd2.iso/tmp/cd2
mkdir/var/www/html/yum/Centos6.4_x64-p
rsync-av/tmp/cd1//var/www/html/yum/Centos6.4_x64/
rsync-av/tmp/cd2//var/www/html/yum/Centos6.4_x64/find/var..
分类:
其他好文 时间:
2014-06-27 06:51:28
阅读次数:
389
Excel分列的使用看到一条全国姓氏人数排名前20位的新闻,中间提供了具体数据,但是估计是从word中复制的数据,格式错乱,就用Excel处理下。处理结果如下图:一、函数处理方法单元格说明A列原始数据B–E列分离出的数据B2=mid(A2,1,2)C2=MID($A2,FIND(“”,$A2,1)+1,1)D2=VALUE(..
分类:
其他好文 时间:
2014-06-27 06:33:15
阅读次数:
354