题目:Given a binary tree, return the preorder traversal of its nodes' values.For example:Given binary tree {1,#,2,3}, 1 \ 2 / 3return [1,...
分类:
编程语言 时间:
2014-07-30 09:49:43
阅读次数:
177
在昨天用finger及tree指令时发现Linux默认情况下未安装这两个指令。于是就自己尝试了下安装这两个指令。在进行操作前我们要有一个明确的思路,这样我们实际进行时可以事半功倍。这两个文件安装有两种途径:1,上网下载安装;2,通过Linux的安装ISO文件进行安装。我用的是第二种..
分类:
系统相关 时间:
2014-07-30 03:31:53
阅读次数:
452
决策树(Decison Tree)之所以称为树是因为其建模过程类似一棵树的成长过程,即从根部开始,到树干,到分支,再到细枝末叶的分叉,最终胜出出一片片的树叶。在数据树里面,所分析的数据数据样本先是成为一个树根,然后经过层层分支,最终形成若干个节点,每个节点代表一个结论。 决策树算法之所以在数据...
分类:
其他好文 时间:
2014-07-30 03:16:42
阅读次数:
257
Demo这绝对是我见过最完美的tree了,尽管是国产货,但一点不输国外产品,国外的还没有见过这么强的。__________________________________________________________________________________以下是简单的使用demo: ...
分类:
Web程序 时间:
2014-07-30 00:25:12
阅读次数:
267
Genealogical tree
Time Limit: 1000MS Memory Limit: 65536K
Total Submissions: 2920 Accepted: 1962 Special Judge
Description
The system of Martians' blood relations is confusing enough. Actually, ...
分类:
其他好文 时间:
2014-07-29 22:10:42
阅读次数:
533
安装jira的前提条件需要安装了java,mysql
1:下载jira
Java代码
wget http://www.atlassian.com/software/jira/downloads/binary/atlassian-jira-6.0.7.tar.gz
2:在mysql数据库创建jira用户
Java代码
mysql>...
分类:
系统相关 时间:
2014-07-29 22:00:22
阅读次数:
573
Description
The system of Martians' blood relations is confusing enough. Actually, Martians bud when they want and where they want. They gather together in different groups, so that a Martian can hav...
分类:
其他好文 时间:
2014-07-29 17:55:22
阅读次数:
196
Convert Sorted List to Binary Search TreeTotal Accepted:12283Total Submissions:45910My SubmissionsGiven a singly linked list where elements are sorted...
分类:
其他好文 时间:
2014-07-29 17:29:32
阅读次数:
216
描述:递归代码: 1 class Solution: 2 # @param num, a list of integers 3 # @return a tree node 4 def sortedArrayToBST(self, num): 5 if len(...
分类:
其他好文 时间:
2014-07-29 16:41:11
阅读次数:
210
[LeetCode]Binary Tree Level Order Traversal II...
分类:
其他好文 时间:
2014-07-29 14:42:48
阅读次数:
145