Traversal
is a process to visit all the nodes of a tree and may print their values
too. Because, all nodes are connected via edges (links) we always start
from the root (head) node. That is, we cannot randomly access a node in a
tree.
There are three ways which we use to traverse a tree -
At TCCI you can learn more efficiently Data Structure and other programming Languages like C, C++, Java, Python, .Net, C# etc.
We believe in Student satisfaction.
Call us @ 9825618292
Visit us @ www.tccicomputercoaching.com
There are three ways which we use to traverse a tree -
- In-order Traversal
- Pre-order Traversal
- Post-order Traversal
At TCCI you can learn more efficiently Data Structure and other programming Languages like C, C++, Java, Python, .Net, C# etc.
We believe in Student satisfaction.
Call us @ 9825618292
Visit us @ www.tccicomputercoaching.com
No comments:
Post a Comment