>_
SWE Maxx
Questions
Quizzes
Daily challenge
System design
My attempts
Sign in
☀
☾
Light mode
Dark mode
Loading question…
Sign in
Match the descriptions to these tree terminology terms: Root, Leaf, Parent, Subtree. | SWE Maxx
← Question bank
Data structures · Matching
Difficulty: Medium
Match the descriptions to these tree terminology terms: Root, Leaf, Parent, Subtree.
Tree terminology
Concept relationships
Choose a match for every item. Use each answer once.
The root is the starting node from which the rest of the rooted hierarchy descends.
Choose a match
Root
Parent
Leaf
Subtree
A subtree preserves the descendant relationships rooted at the selected node.
Choose a match
Root
Parent
Leaf
Subtree
A leaf terminates a downward path through the hierarchy.
Choose a match
Root
Parent
Leaf
Subtree
A parent is connected to its immediate child by one tree edge.
Choose a match
Root
Parent
Leaf
Subtree
Check answer
More in Data structures →