Lesson AB30
BINARY TREE
A data structure where each node has zero, one, or two subnodes.
CHILD NODE
A node in a binary tree which is visually below another node.
EDGE
The connection between two nodes.
INORDER
A traversal of a binary tree which traverses the left side, then visits the node, and then traverses the right side.
LEAF
A node with no children.
PARENT NODE
A node on a binary tree that has one or two children.
POSTORDER
A binary tree traversal that traverses the left side, the right side, and then finally visits the node.
PREORDER
A binary tree traversal that visits the node before traversing either side.
ROOT NODE
The very top node of a binary tree. It has no parent nodes.
SUBTREE
A tree created by taking one node within a tree and assuming that node is the root node of a new tree.
TREE TRAVERSAL
A system that visits every node in a tree depending on a certain order (inorder, preorder, postorder).
VISITING A NODE
Accessing the data of a particular node.
|