Karteikarten
F453 Data Structures - Binary Trees
Karten in diesem Stapel (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.
Informationen
- Beschreibung
- Karteikarten am F453 Data Structures - Binary Trees, erstellt von harvs899 am 02/05/2014.
- Erstellt von
- harvs899
- Aufrufe
- 240
- Tags
- Bewertung
Mehr zu Trees and Binary Trees