Graph Theory and Algorithms

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

1/17

flashcard set

Earn XP

Description and Tags

These flashcards cover key vocabulary terms and concepts related to graph theory and algorithms, including definitions and explanations relevant to the lecture material.

Study Analytics
Name
Mastery
Learn
Test
Matching
Spaced

No study sessions yet.

18 Terms

1
New cards

Counting Sort

An algorithm that sorts a collection of objects according to keys that are small integers.

2
New cards

Expectation E[X]

The expected value of a discrete random variable, calculated as the sum of each possible value multiplied by its probability.

3
New cards

Hitting Time

The expected number of trials needed to achieve the first success in a sequence of independent Bernoulli trials.

4
New cards

Undirected Graph

A graph in which edges have no direction, meaning the connection between two nodes is bidirectional.

5
New cards

Directed Graph

A graph where edges have a direction, going from one node to another.

6
New cards

BFS (Breadth First Search)

A traversal algorithm that explores nodes layer by layer from the starting node.

7
New cards

DFS (Depth First Search)

A traversal algorithm that explores nodes by following edges from the most recently discovered node until reaching a dead-end.

8
New cards

Connected Graph

A graph in which there is a path between every pair of nodes.

9
New cards

Bipartite Graph

An undirected graph that can be colored with two colors such that no two adjacent vertices share the same color.

10
New cards

Topological Sort

A linear ordering of vertices in a directed acyclic graph, where for every directed edge UV from vertex U to vertex V, U comes before V in the ordering.

11
New cards

DAG (Directed Acyclic Graph)

A directed graph that has no directed cycles, meaning there is no way to start at any vertex v and follow a consistently directed path that eventually loops back to v again.

12
New cards

Adjacency Matrix

A square matrix used to represent a finite graph, where the elements indicate whether pairs of vertices are adjacent.

13
New cards

Adjacency List

A collection of lists used to represent a graph, where each list corresponds to a vertex and contains the neighboring vertices.

14
New cards

Cycle in a Graph

A path in a graph where the starting and ending node are the same and consists of at least one edge.

15
New cards

Tree

A connected undirected graph with no cycles.

16
New cards

Rooted Tree

A tree in which one vertex has been designated as the root, and all edges point away from the root.

17
New cards

Phylogenetic Tree

A branching diagram that represents the evolutionary relationships among various biological species.

18
New cards

Heuristic

A problem-solving approach that utilizes a practical method not guaranteed to be optimal.