Tous les livres

Professionnel

Applis À propos Coach Connexion Commencer la lecture

Computer Science · Glossaire

Qu'est-ce que « Binary tree, full binary tree » ?

Aussi appelé : binary tree · full binary tree

Definition 11.3 University Computer Science — Year 1 · Chapitre 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.

Lire dans le chapitre →