English

Define the following term with reference to Tree: Root

Advertisements

Questions

Define the following term with reference to Tree:

Root

Define the following term with respect to Binary Tree:

Root node

Definition
Advertisements

Solution

A node that does not have a parent is called the root node. Generally, the first node of a tree is considered the root. In the given figure, node A is the root of the tree.

shaalaa.com
Basic Data Structures (Stack, Queue, Dequeue)
  Is there an error in this question or solution?

APPEARS IN

Advertisements
Share
Notifications



      Forgot password?
Use app×