140 likes | 153 Views
This course explores essential concepts such as topological sort for class order, DFS for maze navigation, avoiding loops using set ADT, analyzing electronic circuits, compiler analysis, common subexpression elimination, and sorting algorithms. Understand connected components, Java class hierarchy, minimum spanning tree, maximal matching, and the Six Degrees of Kevin Bacon.
E N D
Course prerequisites • Topological sort gives order to take classes
Depth first search – Web as graph • Avoid loops: don’t repeat nodes. • Use some kind of Set ADT
Electronic circuits • Edges labelled (resistors, switch, etc) • Analyze Zasha’s incompetence in EE
Proofs – best case correct sorting by comparison • List is x1,…,x8 • Edge is comparison • <7 edges graph not connected • Connected componentscould be on either side.How would the algorithmknow?
TA assignments • Bipartite graph – 2 node types (TAs and Courses) • Maximal matching (assign as many TAs to as many courses as possible)