Binary Trees | Types | BFS | DFS
Introduction
Arrays and linked lists are flat structures, whereas a tree is a hierarchical structure.
If a tree has only 2 children, then it is called a binary tree.
Terminology
Root: The head of the tree is called the root node.
Leaf node: A n...