码迷,mamicode.com
首页 >  
搜索关键字:binary    ( 11734个结果)
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-12-09 17:06:30    阅读次数:108
272. Closest Binary Search Tree Value II
题目:Given a non-empty binary search tree and a target value, findkvalues in the BST that are closest to the target.Note:Given target value is a floatin...
分类:其他好文   时间:2015-12-09 07:09:39    阅读次数:180
第三章 - 数据存储
3.1数据类型分为数字,文本,音频,图像,视频计算机内部的数据 位(bit,binary digit)时存储在计算机中的最小单位。他是0或1。位模式 为了表示数据的不同类型,应该使用位模式,他是一个序列,有时也被称为位流。通常长度为8的位模式被称为1字节3.2.1存储整数(定点表示法)定点表示法.....
分类:其他好文   时间:2015-12-09 01:55:09    阅读次数:133
LeetCode OJ:Maximal Rectangle(最大矩形)
Given a 2D binary matrix filled with 0's and 1's, find the largest rectangle containing all ones and return its area.求出0,1矩阵中的最大矩形区域:DP问题,可以使用数组记下当前行位...
分类:其他好文   时间:2015-12-08 23:48:48    阅读次数:203
Binary Tree Paths
https://leetcode.com/problems/binary-tree-paths//** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * ...
分类:其他好文   时间:2015-12-08 18:00:45    阅读次数:111
数据结构:Binary and other trees(数据结构,算法及应用(C++叙事描述语言)文章8章)
8.1 Trees-->root,children, parent, siblings, leaf; level, degree of element 的基本概念8.2 Binary Trees-->什么样的tree是Binary Tree8.3. Properties of Binary Tree...
分类:编程语言   时间:2015-12-08 17:53:02    阅读次数:128
Path Sum II
https://leetcode.com/problems/path-sum-ii//** * Definition for a binary tree node. * struct TreeNode { * int val; * TreeNode *left; * Tree...
分类:其他好文   时间:2015-12-08 15:55:17    阅读次数:186
leetcode Binary Tree Paths
题目连接https://leetcode.com/problems/binary-tree-paths/Binary Tree PathsDescriptionGiven a binary tree, return all root-to-leaf paths.For example, given ...
分类:其他好文   时间:2015-12-08 10:09:48    阅读次数:149
leetcode Binary Tree Right Side View python
# Definition for a binary tree node.# class TreeNode(object):# def __init__(self, x):# self.val = x# self.left = None# sel...
分类:编程语言   时间:2015-12-08 08:39:52    阅读次数:176
[LeetCode]Validate Binary Search Tree
题目解析:(链接)Given a binary tree, determine if it is a valid binary search tree (BST).Assume a BST is defined as follows:The left subtree of a node contai...
分类:其他好文   时间:2015-12-07 11:54:17    阅读次数:145
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!