In a tree data structure, the topmost node is called the:

2024

In a tree data structure, the topmost node is called the:

  1. A.

    Child node

  2. B.

    Parent node

  3. C.

    Root node

  4. D.

    Leaf node

Attempted by 741 students.

Show answer & explanation

Correct answer: C

In a tree data structure, the node at the top of the hierarchy is called the root node. The root node doesn't have a parent.

Explore the full course: Cocubes Preparation