Boundary Traversal Of A Binary Tree
A tree is a data structure similar to Linked list in which each node points to multiple nodes instead of simply pointing to the next node. A tree is called Binary tree if each node in a tree has maximum of two nodes.
Boundary traversal of a binary tree, traverses through all the boundary nodes which includes
- The left boundary of a binary tree
- All the leaves of the binary tree
- The right boundary of a binary tree
Before going ahead have a look into Binary Tree basics, Binary Tree Traversal and Binary Tree implementation.
(more…)