linux下tree命令详解分类: linux 2013-08-16 09:24 259人阅读
评论(0) 收藏 举报(1)tree -a 显示所有文件和目录(2)tree -d 显示目录名称而非内容(3)tree -f
在每个文件或目录之前,显示完整的相对路径名称(4)tree -F 在执行文.....
分类:
系统相关 时间:
2014-06-09 16:22:45
阅读次数:
295
GRID的行设置前景色和背景色$dataItem->set_row_color("red");
// 设置背景色 $dataItem->set_row_style("color:red"); //
设置前景色GRID支持多行显示mygrid.enableMultiline(true);TREE节点提...
分类:
Web程序 时间:
2014-06-09 15:23:45
阅读次数:
245
01背包。 1 #include 2 #include 3 #include 4 5
#define MAXN 1005 6 7 typedef struct { 8 int h, l, t; 9 } node_st;10 11 node_st
nodes[35];12 13 in...
分类:
其他好文 时间:
2014-06-08 22:44:08
阅读次数:
339
写了个函数指针,这题目很水,但是佷烦。 1 #include 2 #include 3
#include 4 #include 5 using namespace std; 6 7 #define MAXN 305 8 9 typedef
struct {10 int id, g...
分类:
其他好文 时间:
2014-06-08 20:55:48
阅读次数:
202
题目链接题意: 给定一棵二叉树, 判断是否为平衡二叉树, 这里的平衡二叉树指的是:每个结点的左右子树的深度之差不超过1。附上代码:
1 /** 2 * Definition for binary tree 3 * struct TreeNode { 4 * int val; 5 * ...
分类:
其他好文 时间:
2014-06-08 18:58:35
阅读次数:
194
题目链接求二叉树最小深度,最小深度指的是:从根节点走到最近的叶子结点的最短长度附上代码: 1 /**
2 * Definition for binary tree 3 * struct TreeNode { 4 * int val; 5 * TreeNode
*left; 6...
分类:
其他好文 时间:
2014-06-08 18:43:48
阅读次数:
220
Description:Given a binary tree, flatten it to
a linked list in-place.For example,Given 1 / \ 2 5 / \ \ 3 4 6The...
分类:
其他好文 时间:
2014-06-08 18:34:52
阅读次数:
214
题目
Given a binary tree, return the level order traversal of its nodes' values. (ie, from left to right, level by level).
For example:
Given binary tree {3,9,20,#,#,15,7},
3
/ \...
分类:
其他好文 时间:
2014-06-08 16:38:02
阅读次数:
194
作者:disappearedgod
文章出处:http://blog.csdn.net/disappearedgod/article/details/23621903
时间:2014-6-7
题目
Minimum Depth of Binary Tree
Total Accepted: 14139 Total
Submissions: 48728My S...
分类:
其他好文 时间:
2014-06-08 04:15:57
阅读次数:
236