|
|
|
|
Topological sort gives order to take classes |
|
|
|
|
|
Avoid loops: don’t repeat nodes. |
|
Use some kind of Set ADT |
|
|
|
|
Edges labelled (resistors, switch, etc) |
|
Analyze Zasha’s incompetence in EE |
|
|
|
|
|
|
List is x1,…,x8 |
|
Edge is comparison |
|
<7 edges
à graph
not connected |
|
Connected components
could be on either side.
How would the algorithm
know? |
|
|
|
|
|
|
|
Bipartite graph – 2 node types (TAs and Courses) |
|
Maximal matching (assign as many TAs to as many
courses as possible) |
|
|
|