Graphs and Abstract Data Types

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

1/32

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.

33 Terms

1
New cards

Planar graph

Graph with non-crossing edges when drawn

2
New cards

Breadth-first search (BFS)

Graph search using a queue for traversal

3
New cards

Single-Source Shortest Paths (SSSP)

Finding shortest paths from a source vertex

4
New cards

Non-linear list

List with elements having more than one successor

5
New cards

Graph

Set of nodes and edges connecting pairs of nodes

6
New cards

Cycle

Path starting and ending at the same vertex

7
New cards

Weakly connected graph

Directed graph with at least 2 unconnected vertices

8
New cards

Directed acyclic graph (DAG)

Directed graph without cycles

9
New cards

Dense graph

Graph with edges close to the number of vertices

10
New cards

Shortest path problem

Finding shortest path between two vertices

11
New cards

Tree

Non-linear list with at most one predecessor

12
New cards

Vertex

Node in a graph

13
New cards

Edge

Connection between two vertices

14
New cards

Path

Sequence of adjacent vertices

15
New cards

Vertex degree

Number of lines incident to a vertex

16
New cards

Outdegree

Number of lines leaving a vertex

17
New cards

Indegree

Number of lines entering a vertex

18
New cards

Directed graph

Graph with edges having a direction

19
New cards

Undirected graph

Graph with bidirectional edges

20
New cards

Loop

Special cycle with an arc starting and ending at the same vertex

21
New cards

Connected graph

Graph where all vertices have a path between them

22
New cards

Strongly connected graph

Directed graph with paths between every pair of vertices

23
New cards

Disjoint graph

Graph with unconnected vertices

24
New cards

Weighted graph

Graph with edges assigned values

25
New cards

Sparse graph

Graph with few edges compared to vertices

26
New cards

Adjacency matrix

Matrix showing connections between vertices

27
New cards

Adjacency list

List showing adjacent vertices for each vertex

28
New cards

Topological sort

Linear ordering of vertices in a DAG

29
New cards

Depth-first search (DFS)

Graph search using a stack for traversal

30
New cards

Traveling Salesman Problem

Finding shortest route visiting each city once

31
New cards

Minimum spanning tree

Spanning tree with minimum total edge weight

32
New cards

Bellman-Ford algorithm

Algorithm for Single-Source Shortest Paths

33
New cards

Prim's algorithm

Greedy algorithm for finding Minimum Spanning Tree