Introduction to Trees and Data Structures

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

1/20

flashcard set

Earn XP

Description and Tags

A set of vocabulary flashcards based on the concepts of trees and data structures as discussed in the lecture.

Last updated 4:46 PM on 1/28/26
Name
Mastery
Learn
Test
Matching
Spaced
Call with Kai

No analytics yet

Send a link to your students to track their progress

21 Terms

1
New cards

Tree

A non-linear hierarchical data structure composed of nodes connected by edges.

2
New cards

Root

The distinguished topmost node of a tree that has no parent.

3
New cards

Leaf Node

A node with no children.

4
New cards

Internal Node

Any non-leaf node that has at least one child.

5
New cards

Edge

The connection between two nodes in a tree.

6
New cards

Path

A sequence of nodes connected by edges.

7
New cards

Height of a Node

The number of edges in the longest downward path from the node to a leaf.

8
New cards

Binary Search Tree (BST)

A binary tree where left subtree values are less than the root value and right subtree values are greater.

9
New cards

AVL Tree

A self-balancing binary search tree with a balance factor of -1, 0, or +1.

10
New cards

B-Tree

A self-balancing tree data structure that maintains sorted data and allows searches, sequential access, insertions, and deletions in logarithmic time.

11
New cards

Heap Tree

A complete binary tree that satisfies the heap property, where parent nodes are either greater than or less than their child nodes.

12
New cards

Traversal

The process of visiting each node in a tree exactly once in a defined order.

13
New cards

Depth-First Traversal

A traversal method where nodes are explored as far as possible along each branch before backtracking.

14
New cards

Breadth-First Traversal

A traversal method that visits nodes level by level.

15
New cards

General Tree

A tree with no restrictions on the number of children a node can have.

16
New cards

Full Binary Tree

A binary tree where each node has either 0 or 2 children.

17
New cards

Skewed Binary Tree

A binary tree where nodes have only one child, leading to a structure resembling a linked list.

18
New cards

Balance Factor

The difference in height between the left and right subtrees of a node in an AVL tree.

19
New cards

Dynamic Memory Allocation

Allocating memory dynamically as needed, which is an advantage of linked representation of trees.

20
New cards

Time Complexity

An estimate of the amount of time an algorithm takes to complete based on the size of the input.

21
New cards

Space Complexity

An estimate of the amount of memory space required by an algorithm as a function of the input size.

Explore top flashcards