In a tree data structure, the topmost node is called the:
2024
In a tree data structure, the topmost node is called the:
- A.
Child node
- B.
Parent node
- C.
Root node
- 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.