码迷,mamicode.com
首页 >  
搜索关键字:binary trees    ( 12390个结果)
LeetCode-144-Binary Tree Preorder Traversal
算法描述: Given a binary tree, return the preorder traversal of its nodes' values. Example: Follow up: Recursive solution is trivial, could you do it iter ...
分类:其他好文   时间:2019-02-06 18:35:55    阅读次数:109
【leetcode】988. Smallest String Starting From Leaf
题目如下: Given the root of a binary tree, each node has a value from 0 to 25representing the letters 'a' to 'z': a value of 0 represents 'a', a value of  ...
分类:其他好文   时间:2019-02-06 15:52:32    阅读次数:192
401. Binary Watch
A binary watch has 4 LEDs on the top which represent the hours (0-11), and the 6 LEDs on the bottom represent the minutes (0-59). Each LED represents ...
分类:其他好文   时间:2019-02-06 09:29:48    阅读次数:117
BSON数据格式
BSON https://baike.baidu.com/item/BSON 概念 编辑 BSON()是一种类json的一种二进制形式的存储格式,简称Binary JSON,它和JSON一样,支持内嵌的文档对象和数组对象,但是BSON有JSON没有的一些数据类型,如Date和BinData类型。 B ...
分类:其他好文   时间:2019-02-06 09:22:56    阅读次数:411
[LeetCode] 701. Insert into a Binary Search Tree
Given the root node of a binary search tree (BST) and a value to be inserted into the tree, insert the value into the BST. Return the root node of the ...
分类:其他好文   时间:2019-02-05 23:50:00    阅读次数:207
LeetCode-116-Populating Next Right Pointers in Each Node
算法描述: Given a binary tree Populate each next pointer to point to its next right node. If there is no next right node, the next pointer should be set t ...
分类:其他好文   时间:2019-02-05 17:00:36    阅读次数:165
LeetCode-117-Populating Next Right Pointers in Each Node II
算法描述: Given a binary tree Populate each next pointer to point to its next right node. If there is no next right node, the next pointer should be set t ...
分类:其他好文   时间:2019-02-05 16:50:22    阅读次数:184
[LeetCode 988] Smallest String Starting From Leaf
Given the root of a binary tree, each node has a value from 0 to 25 representing the letters 'a' to 'z': a value of 0 represents 'a', a value of 1 rep ...
分类:其他好文   时间:2019-02-05 13:13:56    阅读次数:142
11、Map、可变参数、Collections
Map接口 Map集合概述 Map接口中的常用方法 ? Map集合遍历方式keySet方法 Map集合Entry对象 Map集合遍历方式entrySet方法 Map集合遍历方式增强for循环 HashMap集合存储和遍历 LinkedHashMap的特点 A:LinkedHashMap的特点 Has ...
分类:其他好文   时间:2019-02-04 23:17:41    阅读次数:205
二分搜索算法
[toc] 介绍 在计算机科学中,二分搜索(英语:binary search),也称折半搜索(英语:half interval search)、对数搜索(英语:logarithmic search),是一种在有序数组中查找某一特定元素的搜索算法。搜索过程从数组的中间元素开始,如果中间元素正好是要查找 ...
分类:编程语言   时间:2019-02-04 15:30:12    阅读次数:177
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!