Networks Flashcards

1
Q

What is the first step in Prim’s Algorithm?

A

Choose any vertex

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

What is the first step in Krushkal’s Algorithm?

A

Choose the shortest edge

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

What is the second step in Prim’s Algorithm?

A

Choose the shortest connected edge

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

What is the second step in Kruskal’s Algorithm?

A

Choose the next shortest edge (does not have to be connected)

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

What’s the difference between Kruskal and Prim?

A

Prim- Any Vertex—–Krushkal- Smallest Vertex

Prim- Connected edge—– Krushkal- Any edge

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