Trees

0.0(0)
Studied by 0 people
call kaiCall Kai
learnLearn
examPractice Test
spaced repetitionSpaced Repetition
heart puzzleMatch
flashcardsFlashcards
GameKnowt Play
Card Sorting

1/21

encourage image

There's no tags or description

Looks like no tags are added yet.

Last updated 4:10 PM on 10/15/24
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

22 Terms

1
New cards

Tree

A hierarchical structure represented graphically with elements or nodes linked to successors.

2
New cards

Node

An element in a tree that can have links to other nodes (successors).

3
New cards

Root

The top node of a tree that has no parent.

4
New cards

Branch/Edge/Line/Path

The links connecting a node to its successors.

5
New cards

Child Node

A successor of a node in a tree.

6
New cards

Parent

The predecessor of a node in a tree.

7
New cards

Binary Tree

A tree where each node has at most two child nodes.

8
New cards

Sibling

Nodes that share the same parent.

9
New cards

Leaf Node

A node that has no child nodes, also known as an external node.

10
New cards

Internal Node

A node that has one or more child nodes.

11
New cards

Subtree

A tree that exists within another tree.

12
New cards

Level

A measure of a node's distance from the root.

13
New cards

Depth

The highest level of a tree.

14
New cards

Degree

The number of child nodes in a subtree.

15
New cards

Breadth-First Search

A traversal method where nodes are visited level by level.

16
New cards

Depth-First Search

A traversal method that explores as far as possible along each branch before backtracking.

17
New cards

Inorder Traversal

A depth-first method visiting nodes in the order of Left, Root, Right.

18
New cards

Preorder Traversal

A depth-first method visiting nodes in the order of Root, Left, Right.

19
New cards

Postorder Traversal

A depth-first method visiting nodes in the order of Left, Right, Root.

20
New cards

Inorder Starting Point

Start with the bottommost left subtree. Once the root in Level 0 is visited, proceed to the bottommost right subtree.

21
New cards

Preorder Starting Point

Start with the root level in level 0 then continue with the left subtree.

22
New cards

Postorder Starting Point

Start with the bottommost left subtree then proceed to the other subtrees.