1. / – RootEvery single file and directory
starts from the root directory.Only root user has write privilege under this
directory.Please note that /ro...
分类:
系统相关 时间:
2014-06-04 20:04:22
阅读次数:
416
Given an absolute path for a file (Unix-style),
simplify it.For example,path="/home/", =>"/home"path="/a/./b/../../c/",
=>"/c"click to show corner cas...
分类:
其他好文 时间:
2014-06-04 19:32:14
阅读次数:
270
Given two binary trees, write a function to
check if they are equal or not.Two binary trees are considered equal if they are
structurally identical an...
分类:
其他好文 时间:
2014-06-04 18:37:18
阅读次数:
277
tomcat 的 server.html
配置文件加在之上path虚拟目录docBase实际目录http://localhost:8080/itcast/1.html
分类:
Web程序 时间:
2014-06-03 13:19:45
阅读次数:
232
ls -lr反向排序结果==============================ls
${PATH//:/\ } | grep ==============================echo
$RANDOM==============================[[ $# -ne 3 ...
分类:
其他好文 时间:
2014-05-30 21:35:51
阅读次数:
335
水题,不过要想0ms过还是有个技巧的:#include #include using
namespace std;int main(){ int score[101]; int t,t1,temp; while(cin>>t) {
//memset(score,...
分类:
其他好文 时间:
2014-05-30 16:53:11
阅读次数:
268
Given a binary tree containing digits
from0-9only, each root-to-leaf path could represent a number.An example is the
root-to-leaf path1->2->3which rep...
分类:
其他好文 时间:
2014-05-30 16:32:52
阅读次数:
226
Given a binary tree, find the maximum path
sum.The path may start and end at any node in the tree.For example:Given the
below binary tree, 1 ...
分类:
其他好文 时间:
2014-05-30 16:10:54
阅读次数:
185
Given a binary tree and a sum, determine if the
tree has a root-to-leaf path such that adding up all the values along the path
equals the given sum.Fo...
分类:
其他好文 时间:
2014-05-30 15:18:35
阅读次数:
246
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 farthest le...
分类:
其他好文 时间:
2014-05-30 15:03:42
阅读次数:
237