Lecture 8 Flashcards

1
Q

What is a graph? How is it mathematically described?

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

What are undirected and directed graphs?

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

What are sparse and dense graphs?

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

What are the two graph representations?

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

How does an adjacency-matrix work?

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

How does an adjacency-list work?

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

What is the complexity of edge-membership and a neighborhood query? And how do you get these results?

Of an adjacency-matrix and adjacency-list

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

What are the complexities of operations of the adjacency-matrix and -list?

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

What is a graph search algorithm?

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

What is a Breadth-first Search algorithm? What is its key idea?

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

What is the BFS algorithm?

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

What is the pseudocode of the BFS algorithm?

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

What is the runtime of BFS?

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

What does BFS calculate?

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