TREE

Tree Terminology in Data Structure

Tree is a non-linear data structure which organizes data in hierarchical structure. Root: First node of the tree Edge :- Connecting link between any two nodes is called as EDGE. In a tree with 'N' number of nodes there will be a maximum of 'N-1' number of edges. Parent :- [...]

2024-03-02T18:17:44+05:30Categories: Data Structure|Tags: |

Binary Tree Traversals

There are three types of binary tree traversals In - Order Traversal Pre - Order Traversal Post - Order Traversal In - Order Traversal ( leftChild - root - rightChild ) In In-Order traversal, the root node is visited between left child and right child. In this traversal, the left [...]

2017-09-16T13:28:48+05:30Categories: Data Structure|Tags: |
Go to Top