网站首页  情感咨询  情感美文  情感百科  情感生活  学习充电  旧版美文

请输入您要查询的词汇:

 

词汇 Full binary tree
分类 英语词汇 英语翻译词典
释义

Full binary tree

中文百科

二叉树 Binary tree

(重定向自Full binary tree)
一个简单的二叉树
基于链表的二叉树逻辑结构示意

在计算机科学中,二叉树英语:Binary tree)是每个节点最多有两个子树的树结构。通常子树被称作「左子树」(left subtree)和「右子树」(right subtree)。二叉树常被用于实现二叉查找树和二叉堆。

二叉树的每个节点至多只有二棵子树(不存在度大于2的节点),二叉树的子树有左右之分,次序不能颠倒。二叉树的第i层至多有2^{i-1}个结点;深度为k的二叉树至多共有2^k-1个结点;对任何一棵二叉树T,如果其终端结点数为n_0,度为2的节点数为n_2,则n_0=n_2+1

一棵深度为k,且有2^k-1个节点称之为满二叉树;深度为k,有n个节点的二叉树,当且仅当其每一个节点都与深度为k的满二叉树中,序号为1至n的节点对应时,称之为完全二叉树

英语百科

Binary tree 二叉树

(重定向自Full binary tree)
A labeled binary tree of size 9 and height 3, with a root node whose value is 2. The above tree is unbalanced and not sorted.
A full binary tree
An ancestry chart which maps to a perfect depth-4 binary tree.
A complete binary tree

In computer science, a binary tree is a tree data structure in which each node has at most two children, which are referred to as the left child and the right child. A recursive definition using just set theory notions is that a (non-empty) binary tree is a triple (L, S, R), where L and R are binary trees or the empty set and S is a singleton set. Some authors allow the binary tree to be the empty set as well.

随便看

 

依恋情感网英汉例句词典收录3870147条英语例句词条,基本涵盖了全部常用英语单词的释义及例句,是英语学习的有利工具。

 

Copyright © 2004-2024 Yiyi18.com All Rights Reserved
京ICP备2021023879号 更新时间:2025/8/6 9:26:59