Trees Flashcards

1
Q

What is a tree?

A

A data structure which consists of nodes, each node contains data and pointers - 1. Starts at the root node which is the first node at the top
2. The nodes at the bottom are the leaf nodes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are some uses of tree?

A
  • Family trees
  • Storing and managing file and folder structures
  • Storing and manipulating hierarchical data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly