Subtopic 6.1
Binary Tree
2lessons12 min0done
In a binary tree every node has at most two children: a left one and a right one. This limit makes the tree easy to lay out in an array and easy to code.
The subtopic covers the kinds of binary trees, how the number of nodes relates to the height and the formulas that exams ask about. There is no code here; the next two subtopics code the same tree first with an array, then with linked nodes.