码迷,mamicode.com
首页 >  
搜索关键字:binary trees    ( 12390个结果)
leetcode reverse bits python
Reverse BitsReverse bits of a given 32 bits unsigned integer.For example, given input 43261596 (represented in binary as000000101001010000011110100111...
分类:编程语言   时间:2015-06-06 19:26:04    阅读次数:170
Linux各个目录的作用
/binbin是binary的缩写。这个目录沿袭了UNIX系统的结构,存放着使用者最经常使用的命令。例如cp、ls、cat,等等。/boot这里存放的是启动Linux时使用的一些核心文件。/devdev是device(设备)的缩写。这个目录下是所有Linux的外部设备,其功能类似DOS下的.sys和...
分类:系统相关   时间:2015-06-06 17:54:15    阅读次数:161
How to Make Portable Class Libraries Work for You
APortable Class Libraryis a .NET library that can be used (in binary form, without recompiling) on multiple .NET platforms. When you create a Portable...
分类:其他好文   时间:2015-06-06 16:29:37    阅读次数:96
Count Complete Tree Nodes
Given a complete binary tree, count the number of nodes.Definition of a complete binary tree from Wikipedia: In a complete binary tree every level, except possibly the last, is completely filled, and...
分类:其他好文   时间:2015-06-06 15:01:51    阅读次数:125
[LeetCode] Count Complete Tree Nodes
Given a complete binary tree, count the number of nodes.Definition of a complete binary tree from Wikipedia: In a complete binary tree every level, except possibly the last, is completely filled, and...
分类:其他好文   时间:2015-06-06 15:01:47    阅读次数:125
[LeetCode] Maximal Square
Given a 2D binary matrix filled with 0’s and 1’s, find the largest square containing all 1’s and return its area.For example, given the following matrix:1 0 1 0 0 1 0 1 1 1 1 1 1 1 1 1 0 0 1 0Return...
分类:其他好文   时间:2015-06-06 14:59:51    阅读次数:138
Maximal Square
Problem:Given a 2D binary matrix filled with 0's and 1's, find the largest square containing all 1's and return its area.For example, given the follow...
分类:其他好文   时间:2015-06-06 14:44:05    阅读次数:88
Binary Tree Postorder Traversal -- leetcode
Given a binary tree, return the postorder traversal of its nodes' values. For example: Given binary tree {1,#,2,3}, 1 2 / 3 return [3,2,1]. Note: Recursive solut...
分类:其他好文   时间:2015-06-06 13:38:24    阅读次数:138
[LeetCode] Count Complete Tree Nodes
Count Complete Tree NodesGiven acompletebinary tree, count the number of nodes.In a complete binary tree every level, except possibly the last, is com...
分类:其他好文   时间:2015-06-06 13:26:14    阅读次数:105
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 sum. For example: Given the below binary t...
分类:其他好文   时间:2015-06-06 12:10:56    阅读次数:131
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!