FIT1008 Lecture 11: Week 11 - tree terminology

106 views1 pages
Tree$="graph"which"is"connected"and"has"no"circuits
Natural"way"of"modeling"many"things"(eg."family"trees,"organisation"structure"
charts,"chapters"and"sections"in"a"book,"execution/call" tree,"OO"class"hierarchies)
Good"for"some"operations"like"searching
Compact"data"representation
Root$="node"with"no"parent,"very"top"node
*every"other"node"is"a"child
Leaf$="node"with"no"child
Depth ="length"of"a"path"from"the"root"to"the"deepest"node
Level$=$length"of"path"from"root"node."Aka"reverse"of"depth/height.
**"starts"from"ZERO!!!
Week$11:$tree$terminology
Friday,"15"June"2018
17:35
Unlock document

This preview shows half of the first page of the document.
Unlock all 1 pages and 3 million more documents.

Already have an account? Log in

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents