Binary tree
Definition
The binary trees are defined recursively by these two rules. The empty tree is a binary tree. It has no nodes. If and are binary trees, then is a binary tree. It has one more node than and together, the root, with left subtree and right subtree . Every binary tree comes from these two rules in a unique way, in finitely many steps.
Remarks
The left and right subtrees are ordered. Thus and are different binary trees with nodes. The number of binary trees with nodes is the Catalan number . The node binary trees are counted by Catalan numbers states this. A nonempty binary tree is a rooted tree in which each vertex has at most two children, each marked left or right.
Where this leads
1 page builds on this one.
Further reading
- Web https://en.wikipedia.org/wiki/Binary_tree, Recursive definition
About this page
| Tag | 02A8EMC83C |
|---|---|
| URI | m2://02A8EMC83C |
| Kind | definition |
| Writing | W1 stated |
| MSC | 05C05 |
| Defines | Binary tree |
Markdown · JSON · Edit on GitHub
What this page needs for W2
- edge instance_of in: one example (0 of 1)
- edge not_instance_of in: one non-example that fails one clause (0 of 1)
The writing levels say how complete the text of a page is. They do not measure its truth.