Flashcards
F453 Data Structures - Binary Trees
Cards in this deck (5)
- 1Is a binary tree a static or dynamic data structure?Dynamic.
- 2What is the maximum number of child nodes each parent node can have?Two, hence why it is called a binary tree.
- 3What is the first node called?The root node.
- 4What are sibling nodes?Nodes which share the same parent node.
- 5What is the problem with removing parent nodes from a binary tree? And what is a solution?All nodes below the deleted item will be lost, in order to maintain the structure of the tree the 'deleted' item can be flagged as deleted with a boolean value and thus will be ignored by any tree traversal algorithms.
Information
- Description
- Flashcards on F453 Data Structures - Binary Trees, created by harvs899 on 02/05/2014.
- Created by
- harvs899
- Views
- 240
- Tags
- Rating
More on Trees and Binary Trees