Flashcards
F453 Data Structures - Binary Trees
Flashcards do conjunto (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.
Informações
- Descrição
- FlashCards sobre F453 Data Structures - Binary Trees, criado por harvs899 em 02-05-2014.
- Criado por
- harvs899
- Visualizações
- 240
- Tags
- Avaliação
Mais sobre Trees and Binary Trees