Alle boeken

Professioneel

Apps Over Coach Inloggen Begin met lezen

Computer Science · Begrippenlijst

Wat is Binary tree, full binary tree?

Ook bekend als: binary tree · full binary tree

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

Lees in het hoofdstuk →