ECE250 Lecture 10: 10 - Tree Data Structure

23 views2 pages

Document Summary

A rooted tree data structure stores information in nodes: similar to linked lists. Consists of nodes in which each node is a linked list of all its successors. Each linked list is also a node in which each node in it is also another linked. Terminology list of their successors: each node will have zero or more child nodes or children, for all nodes, there is one parent node. One parent node: the degree of a node is defined as the number of its children. Deg(i) = 3 (j, k, l are the children of i: nodes with a degree of zero are known as leaf nodes. The following two trees are considered to be equal if the order does not matter (since the order of the child nodes exist, otherwise they are not equal: there exists a path between two trees.

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

Related Questions