码迷,mamicode.com
首页 >  
搜索关键字:binary trees    ( 12390个结果)
[LeetCode][Java] Symmetric Tree
题目: Given a binary tree, check whether it is a mirror of itself (ie, symmetric around its center). For example, this binary tree is symmetric: 1 / 2 2 / \ / 3 4 4 3 ...
分类:编程语言   时间:2015-07-20 23:43:46    阅读次数:199
[LeetCode][Java] Binary Tree Level Order Traversal
题目: 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 / 9...
分类:编程语言   时间:2015-07-20 23:40:10    阅读次数:161
[LeetCode][Java] Binary Tree Zigzag Level Order Traversal
题目: Given a binary tree, return the zigzag level order traversal of its nodes' values. (ie, from left to right, then right to left for the next level and alternate between). For example: Give...
分类:编程语言   时间:2015-07-20 23:39:45    阅读次数:184
Leetcode -- Day13
Question 1Add BinaryGiven two binary strings, return their sum (also a binary string).For example,a ="11"b ="1"Return"100".Firslty I wirte a very dire...
分类:其他好文   时间:2015-07-20 23:10:01    阅读次数:155
[leedcode 103] Binary Tree Zigzag Level Order Traversal
Given a binary tree, return thezigzag level ordertraversal of its nodes' values. (ie, from left to right, then right to left for the next level and al...
分类:其他好文   时间:2015-07-20 23:09:54    阅读次数:123
[leedcode 104] Maximum Depth of Binary Tree
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...
分类:其他好文   时间:2015-07-20 23:00:05    阅读次数:85
[leedcode 102] Binary Tree Level Order Traversal
Given a binary tree, return thelevel ordertraversal of its nodes' values. (ie, from left to right, level by level).For example:Given binary tree{3,9,2...
分类:其他好文   时间:2015-07-20 22:54:51    阅读次数:89
PostgreSQL+PostGIS 的使用
一、PostGIS中的几何类型PostGIS支持所有OGC规范的“Simple Features”类型,同时在此基础上扩展了对3DZ、3DM、4D坐标的支持。1. OGC的WKB和WKT格式OGC定义了两种描述几何对象的格式,分别是WKB(Well-Known Binary)和WKT(Well-Kn...
分类:数据库   时间:2015-07-20 21:32:41    阅读次数:205
遍历二叉树
DescriptionLittle Valentine liked playing with binary trees very much. Her favorite game was constructing randomly looking binary trees with capital l...
分类:其他好文   时间:2015-07-20 21:28:40    阅读次数:183
What are the advantages of logistic regression over decision trees?FAQ
What are the advantages of logistic regression over decision trees?FAQThe answer to "Should I ever use learning algorithm (a) over learning algorithm ...
分类:其他好文   时间:2015-07-20 21:13:37    阅读次数:166
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!