码迷,mamicode.com
首页 >  
搜索关键字:binary trees    ( 12390个结果)
SQL SERVER中字段类型与C#数据类型的对应关系
数据库 C#程序 int int32 text string bigint int64 binary System.Byte[] bit Boolean char string datetime System.DateTime decimal System.Decimal float System.Double image System.Byte[] money System.D...
分类:数据库   时间:2015-09-08 18:40:12    阅读次数:177
【LeetCode】110. Balanced Binary Tree
题目:Given a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tree in which the de...
分类:其他好文   时间:2015-09-08 15:21:47    阅读次数:131
[LintCode] Invert Binary Tree 翻转二叉树
Givennpoints on a 2D plane, find the maximum number of points that lie on the same straight line.ExampleGiven 4 points:(1,2),(3,6),(0,0),(1,3).The max...
分类:其他好文   时间:2015-09-08 06:57:23    阅读次数:171
[LeetCode] First Bad Version
Just use binary search to find the first bad version.The code is as follows. 1 // Forward declaration of isBadVersion API. 2 bool isBadVersion(int ver...
分类:其他好文   时间:2015-09-07 22:30:00    阅读次数:212
(算法)格雷码
题目:The gray code is a binary numeral system where two successive values differ in only one bit.Given a non-negative integernrepresenting the total num...
分类:编程语言   时间:2015-09-07 21:16:44    阅读次数:281
【LeetCode】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,...
分类:其他好文   时间:2015-09-06 21:29:22    阅读次数:210
LeetCode:Sum Root to Leaf Numbers
Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a number.An example is the root-to-leaf path 1->2->3 which...
分类:其他好文   时间:2015-09-06 21:21:23    阅读次数:131
【LeetCode】101. 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 / ...
分类:其他好文   时间:2015-09-06 20:15:28    阅读次数:131
spark Using MLLib in Scala/Java/Python
Using MLLib in ScalaFollowing code snippets can be executed in spark-shell.Binary ClassificationThe following code snippet illustrates how to load a s...
分类:编程语言   时间:2015-09-06 19:49:55    阅读次数:460
[LeetCode]Unique Binary Search Trees
Unique Binary Search TreesGivenn, how many structurally uniqueBST's(binary search trees) that store values 1...n?For example,Givenn= 3, there are a to...
分类:其他好文   时间:2015-09-06 18:11:04    阅读次数:162
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!