All books

Professional

Apps About Coach Log in Start reading

Computer Science · Glossary

What is Binary tree, full binary tree?

Also known as: binary tree · full binary tree

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

Read in context →