Introduction to Graphs Flashcards

You may prefer our related Brainscape-certified flashcards:
1
Q

What are the conditions for a tree?

A
  1. V-1 connected edges with no cycles
  2. Removing edge disconnects
  3. Acyclic, adding edge creates cycle
  4. One simple path connects each pair of vertices
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

When is a graph sparse/ dense?

A
  • Sparse when few of possible edges present
  • Dense when few edges are missing
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the space-time of Kruskal’s algorithm?

A

Space: E
Time: E log E

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