Binary tree CSCI 1302

0.0(0)
studied byStudied by 0 people
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
Card Sorting

1/15

encourage image

There's no tags or description

Looks like no tags are added yet.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

16 Terms

1
New cards

Tree

a non-linear structure in which elements are organized into a hierarchy.

comprised of a set of nodes in which elements are stored and edges connect one node to another

Each node is located on a particular level

2
New cards

How many root nodes are in a tree?

One

3
New cards

Nodes at the lower level of a tree are…

the children of nodes at the previous level

4
New cards

How many parents can a node have?

Only one, but nodes can have multiple children

5
New cards

Siblings

Nodes that have the same parent

6
New cards

The only node with no parent

Root node

7
New cards

leaf node

A node that has no children

8
New cards

internal node

A node that is not the root and has at least one child

9
New cards

subtree

a tree structure that makes up part of another tree

10
New cards

degree

The number of subtrees of a node

11
New cards

A node is an ancestor of another node if its…

above it on the path from the root.

12
New cards

descendants

Nodes that can be reached by following a path from a particular node

13
New cards

level

the length of the path from the root to the node

14
New cards

path length

the number of edges followed to get from the root to the node

15
New cards

height

the length of the longest path from the root to a leaf

16
New cards