码迷,mamicode.com
首页 >  
搜索关键字:binary    ( 11734个结果)
LeetCode 129: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 represents the number 123. Find the tota...
分类:其他好文   时间:2016-01-01 19:07:40    阅读次数:185
Leetcode: Binary Tree Vertical Order Traversal
Given a binary tree, return the vertical order traversal of its nodes' values. (ie, from top to bottom, column by column).If two nodes are in the same...
分类:其他好文   时间:2016-01-01 12:53:39    阅读次数:184
MySQL Workbench建表时 PK NN UQ BIN UN ZF AI 的含义
PKBelongs to primary key作为主键NNNot Null非空UQUnique index不能重复BINIs binary column存放二进制数据的列UNUnsigned data type无符号数据类型(需要整数形数据)ZFFill up values for that co...
分类:数据库   时间:2015-12-31 21:01:16    阅读次数:178
[LeetCode][JavaScript]Symmetric Tree
Symmetric TreeGiven a binary tree, check whether it is a mirror of itself (ie, symmetric around its center).For example, this binary tree is symmetric...
分类:编程语言   时间:2015-12-31 19:20:46    阅读次数:387
[LeetCode][JavaScript]Balanced Binary Tree
Balanced Binary TreeGiven a binary tree, determine if it is height-balanced.For this problem, a height-balanced binary tree is defined as a binary tre...
分类:编程语言   时间:2015-12-31 19:15:02    阅读次数:297
LeetCode 96:Unique Binary Search Trees
Given n, how many structurally unique BST's (binary search trees) that store values 1...n? For example, Given n = 3, there are a total of 5 unique BST's. 1 3 3 2 1 \ ...
分类:其他好文   时间:2015-12-31 17:33:24    阅读次数:151
LeetCode 257:Binary Tree Paths
Given a binary tree, return all root-to-leaf paths. For example, given the following binary tree: 1 / 2 3 5 All root-to-leaf paths are: ["1->2->5", "1->3"] Cre...
分类:其他好文   时间:2015-12-31 16:06:56    阅读次数:173
LeetCode 124:Binary Tree Maximum Path Sum
Given a binary tree, find the maximum path sum. For this problem, a path is defined as any sequence of nodes from some starting node to any node in the tree along the parent-child connections. The ...
分类:其他好文   时间:2015-12-31 12:58:16    阅读次数:172
94_Binary Tree Inorder Traversal
Given a binary tree, return theinordertraversal of its nodes' values.For example:Given binary tree{1,#,2,3}, 1 \ 2 / 3return[1,3,2].中序遍历...
分类:其他好文   时间:2015-12-31 12:29:52    阅读次数:133
144_Binary Tree Preorder Traversal
前序遍历,递归,先遍历根节点,再遍历左节点/** * Definition for a binary tree node. * public class TreeNode { * public int val; * public TreeNode left; * public...
分类:其他好文   时间:2015-12-31 12:17:39    阅读次数:162
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!