Todos os livros

Profissional

Apps Sobre Coach Entrar Começar a ler

Computer Science · Glossário

O que é Binary tree, full binary tree?

Também chamado de: binary tree · full binary tree

Definition 11.3 University Computer Science — Year 1 · Capítulo 11 — Induction, Recursion and Termination

The set of binary trees is defined inductively: the empty tree is a binary tree, and if ℓ\ell and rr are binary trees and kk a key, the node (ℓ,k,r)(\ell, k, r), with left subtree ℓ\ell and right subtree rr, is a binary tree. A binary tree is full if every node has either two non-empty subtrees or two empty ones.

Ler no capítulo →