Podcast
Questions and Answers
What is the root of a tree?
What is the root of a tree?
The topmost node is called the root of the tree.
What are the elements directly under an element called?
What are the elements directly under an element called?
The elements directly under an element are called its children.
What is the parent of an element called?
What is the parent of an element called?
The element directly above something is called its parent.
What are elements with no children called?
What are elements with no children called?
Signup and view all the answers
Why might one use trees as a data structure?
Why might one use trees as a data structure?
Signup and view all the answers