Data Structures Flashcards

1
Q

What is a binary tree?

A

A Tree (type of graph, no cycles) where every node has two or fewer children

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

What is a perfect binary tree?

A

Perfect - every level is completely full (i.e. nodes have 2 children) except the bottom which is completely empty (no children).

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