Which of the following data structures consists of a root node from which all the other elements can be accessed?(1 point)

Responses

queue
queue

map
map

tree
tree

stack

1 answer

The correct answer is tree.

In a tree data structure, there is a root node from which all other nodes (elements) can be accessed, forming a hierarchical structure.