Use Case Scenario Flashcards

1
Q

Name graph algorithms that are used for:
Traversing a Graph

A

DFS, Explore, BFS

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Name graph algorithms that are used for:
Getting Components

A

SCC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Name graph algorithms that are used for:
Getting Shortest Paths

A

Dijkstra’s, Bellman Ford, Floyd Warshall

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Name graph algorithm that are used for:
Finding MSTs

A

Kruskal’s, Prims

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Name graph algorithm that are used for:
finding an existing path

A

2-SAT

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Name graph algorithms that are used for:
Finding the Max Flow

A

Ford-Fulkerson
Edmonds-Karp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the best algorithm for determining the shortest path of graph G that is weighted with positive weights?

A

Djikstra’s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What are the best algorithms for determining the shortest path of graph G that is weighted with negative weights?

A

Bellman Ford or Floyd Warshall

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What are the best algorithms for determining the best capacity?

A

Ford-Fulkerson and Edmonds-Karp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the best algorithm to convert a graph to a topologically sorted DAG?

A

SCC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is the best algorithm to find the shortest path from all vertices of a directed, weighted graph with negative weights?

A

Floyd Warshall

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the best algorithm to find the shortest path from a given vertex of a directed, weighted graph with negative weights?

A

Bellman Ford

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What is the best algorithm to remove cycles in a directed graph?

A

SCC

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is the best algorithm to determine the max flow of a graph with positive integers capacities?

A

Ford-Fulkerson

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What is the best algorithm to determine the max flow of a graph with non-integer capacities?

A

Edmond-Karp

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What is the algorithm that finds augmenting paths with DFS?

A

Ford-Fulkerson

17
Q

What is the algorithm that finds augmenting paths only with BFS?

A

Edmond-Karp