View On GitHub
reading-notes
Reading Notes for Codefellows!
Project maintained by
AlanYHung
Hosted on GitHub Pages — Theme by
mattgraham
Code 401 ASP.NET
Reading 15
(All My Notes are attributed/sourced from the Resources directly preceding them.)
Summary
Binary Trees are linked lists where every node has a 2 Next Nodes labeled left and right.
The top node or head node of a Binary tree is called the Root Node.
The reference nodes (next nodes) are referred to as Edge in trees
The lowest level children nodes in a tree that do not have any children of their own are called leaf nodes
The height of a tree is calculated by the number of links (edges) between the root and bottom most node (leaf)
There are 2 categories for traversing a tree:
Depth First: Prioritizes going through the depth of a tree first
Breadth First: Prioritizes going through each level of the tree first
Resources
Trees
Author: Code Fellows (GitHub)
Article Source
<– Back