码迷,mamicode.com
首页 >  
搜索关键字:leaf    ( 924个结果
[LeetCode] Binary Tree Upside Down 二叉树的上下颠倒
Given a binary tree where all the right nodes are either leaf nodes with a sibling (a left node that shares the same parent node) or empty, flip it up
分类:其他好文   时间:2016-01-31 09:34:38    阅读次数:204
Jan 29 - Flatten Binary Tree To Linked List; DFS;
Using DFS to traverse the tree. 4 cases for each node in the tree: case 1: it's a leaf node, set a pointer pointing to the node. We're reaching an end
分类:其他好文   时间:2016-01-30 09:37:00    阅读次数:204
【树】Path Sum II(递归)
题目: Given a binary tree and a sum, find all root-to-leaf paths where each path's sum equals the given sum. For example:Given the below binary tree and
分类:其他好文   时间:2016-01-29 11:56:46    阅读次数:123
Java [Leetcode 112]Path Sum
题目描述: Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given
分类:编程语言   时间:2016-01-27 23:11:07    阅读次数:165
Java [Leetcode 107]Binary Tree Level Order Traversal II
题目描述:Given a binary tree, return thebottom-up level ordertraversal of its nodes' values. (ie, from left to right, level by level from leaf to root).Fo...
分类:编程语言   时间:2016-01-21 23:56:00    阅读次数:388
*Binary Tree Upside Down
Given a binary tree where all the right nodes are either leaf nodes with a sibling (a left node that shares the same parent node) or empty, flip it up...
分类:其他好文   时间:2016-01-20 06:22:51    阅读次数:158
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...
分类:其他好文   时间:2016-01-18 11:57:22    阅读次数:177
Index的填充属性:FillFactor 和 PAD_INDEX
在CreateIndex时,必须慎重考虑属性FillFactor 和 PAD_INDEX的设置,这两个属性只在create index 或 rebuild index时起作用,表示Index page(Leaf-Level或 intermediate-Level)的填充程度。如果设置FillFact...
分类:其他好文   时间:2016-01-16 22:34:05    阅读次数:725
DBCC SHOWCONTIG 用法
contiguous 是物理位置上连续,相邻近的意思,DBCC SHOWCONTIG 命令的作用就是presentation data page(heap)或 leaf level page(B-Tree)的物理位置的信息,如果Page物理位置不连续,那么就会出现fragmentationThe D...
分类:数据库   时间:2016-01-14 14:18:24    阅读次数:311
leetcode@ [129] Sum Root to Leaf Numbers (DFS)
https://leetcode.com/problems/sum-root-to-leaf-numbers/Given a binary tree containing digits from 0-9 only, each root-to-leaf path could represent a n...
分类:其他好文   时间:2016-01-11 22:16:10    阅读次数:136
924条   上一页 1 ... 38 39 40 41 42 ... 93 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!