码迷,mamicode.com
首页 >  
搜索关键字:binary trees    ( 12390个结果)
[LeetCode] Second Minimum Node In a Binary Tree
Given a non-empty special binary tree consisting of nodes with the non-negative value, where each node in this tree has exactly two or zero sub-node. ...
分类:其他好文   时间:2017-09-12 12:18:36    阅读次数:168
[LeetCode] Two Sum IV - Input is a BST 两数之和之四 - 输入是二叉搜索树
Given a Binary Search Tree and a target number, return true if there exist two elements in the BST such that their sum is equal to the given target. E ...
分类:其他好文   时间:2017-09-12 09:51:05    阅读次数:345
convert-sorted-list-to-binary-search-tree
题目描述 Given a singly linked list where elements are sorted in ascending order, convert it to a height balanced BST. 思路: https://siddontang.gitbooks.io/ ...
分类:其他好文   时间:2017-09-11 22:58:29    阅读次数:206
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 s ...
分类:其他好文   时间:2017-09-11 22:50:58    阅读次数:169
balcanced-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 ...
分类:其他好文   时间:2017-09-11 22:43:35    阅读次数:107
669. Trim a Binary Search Tree (Easy)
Given a binary search tree and the lowest and highest boundaries as L and R, trim the tree so that all its elements lies in [L, R] (R >= L). You might ...
分类:其他好文   时间:2017-09-11 21:16:28    阅读次数:151
LeetCode 669. Trim a Binary Search Tree
Given a binary search tree and the lowest and highest boundaries as L and R, trim the tree so that all its elements lies in [L, R] (R >= L). You might ...
分类:其他好文   时间:2017-09-11 15:19:29    阅读次数:159
Bubble Babble Binary Data Encoding的简介以及bubblepy的安装使用方法
Bubble Babble Binary Data Encoding是由Antti Huima创建的一种编码方法,可以把二进制信息表示为由交替的元音和辅音组成的伪词(pseudo-words),主要用于密码指纹,其编码也具有内置的纠错和冗余。编码格式每5个字符中间以-来分隔,作者的原意就是想把难以记 ...
分类:其他好文   时间:2017-09-10 19:52:25    阅读次数:209
leetcode算法:Trim a Binar Search Tree
Given a binary search tree and the lowest and highest boundaries as L and R, trim the tree so that all its elements lies in [L, R] (R >= L). You might... ...
分类:编程语言   时间:2017-09-10 19:45:52    阅读次数:158
671. Second Minimum Node In a Binary Tree 二叉树中第二小节点
Given a non-empty special binary tree consisting of nodes with the non-negative value, where each node in this tree has exactly twoor zero sub-node. I... ...
分类:其他好文   时间:2017-09-10 18:50:30    阅读次数:164
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!