码迷,mamicode.com
首页 >  
搜索关键字:binary trees    ( 12390个结果)
letecode [104] - 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 l ...
分类:其他好文   时间:2019-06-07 19:33:47    阅读次数:97
【题解】小球
题目描述 许多的小球一个一个的从一棵满二叉树上掉下来组成FBT(Full Binary Tree,满二叉树),每一时间,一个正在下降的球第一个访问的是非叶子节点。然后继续下降时,或者走右子树,或者走左子树,直到访问到叶子节点。决定球运动方向的是每个节点的布尔值。最初,所有的节点都是false,当访问 ...
分类:其他好文   时间:2019-06-07 19:23:09    阅读次数:146
letecode [100] - Same Tree
Given two binary trees, write a function to check if they are the same or not. Two binary trees are considered the same if they are structurally ident ...
分类:其他好文   时间:2019-06-06 21:14:27    阅读次数:89
Computer Science 220S1C (2019)
Computer Science 220S1C (2019)Assignment 4 (traversal and optimisation)Due date June 7, 2019, 10pm100 Marks in totalThis assignment requires you to su ...
分类:其他好文   时间:2019-06-06 21:11:40    阅读次数:78
一、蓝牙概述
1.蓝牙技术介绍: 蓝牙(Bluetooth)技术是由Ericsson、IBM、Intel、Nokia和Toshiba公司于1998年5月共同提出开发的,并联合成立了蓝牙特殊利益小组(SIG),负责开发无线协议规范并设定交互操作的需求。其本质是设备间的无线链接,意在于代替有线电缆。 2.蓝牙协议体系 ...
分类:其他好文   时间:2019-06-06 21:00:34    阅读次数:139
Codeforces 633G Yash And Trees bitset + 线段树
Yash And Trees 用bitset维护每个节点拥有哪些数。 ...
分类:其他好文   时间:2019-06-06 12:08:30    阅读次数:100
每天一道Rust-LeetCode(2019-06-06)
# 每天一道Rust-LeetCode(2019-06-02) Z 字形变换坚持每天一道题,刷题学习Rust. [原题](https://leetcode-cn.com/problems/unique-binary-search-trees/)## 题目描述 示例:输入: 3输出: 5解释:给定 n... ...
分类:其他好文   时间:2019-06-06 09:27:56    阅读次数:112
django连接数据库的类型
字段类型 django的models里面字段类型除了上面的常用的 models.CharField和models.IntegerField,还有更多的类型 1、models.AutoField 自增列= int(11) 如果没有的话,默认会生成一个名称为 id 的列,如果要显示的自定义一个自增列,必 ...
分类:数据库   时间:2019-06-06 09:25:05    阅读次数:95
letecode [67] - Add Binary
Given two binary strings, return their sum (also a binary string). The input strings are both non-empty and contains only characters 1 or 0. Example 1 ...
分类:其他好文   时间:2019-06-06 00:35:13    阅读次数:101
94. Binary Tree Inorder Traversal
题目链接:https://leetcode.com/problems/binary-tree-inorder-traversal/ 解题思路: 二叉树的中序遍历。 ...
分类:其他好文   时间:2019-06-05 00:25:24    阅读次数:99
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!