My reading notes journal for Code Fellows
A tree is a data structure consisting of nodes. A tree node can have a value and references to other nodes, called children
The root of the tree is the topmost node, and it does not have a parent
In a k-ary tree, each node can have up to k children. In a binary tree, each node can have up to 2 children, referred to as the left and right child
A reference to one child node, in a binary tree
A reference to the other child node, in a binary tree
The connection between a parent node and a child node is called an edge
A leaf is a node that does not have any children
The height of a tree is the distance from the root to the farthest leaf node, measured in the number of edges.
