Binary Trees Presentation
Binary Trees Presentation
• Key Components:
• - Root node
• - Left and right subtrees
• - Parent and child nodes
Basic Properties of Binary Trees
• Characteristics:
• - Each node has up to two children.
• - Height of tree: Longest path from root to
leaf.
• - Traversals: Methods to visit nodes.
• (Example of a BST)
Traversals in Binary Trees
• Traversal Types:
• - Pre-order
• - In-order
• - Post-order