Graphs Flashcards

1
Q

What are the 3 main ways to represent graphs?

A

Objects/Pointers, Matrices, and Adjacency Lists

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

Pros / Cons of Adjacency Lists Representation

A

?

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

Pros / Cons of Object / Pointer Representation

A

?

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

Pros / Cons of Matrix Representation

A

?

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

How would you implement BFS? Complexity?

A

?

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

How would you implement DFS? Complexity?

A

?

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

How would you implement Djikstra / A*? Complexity?

A

?

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