Final Review Vids:
New Vid 1
- Induction
- Asymptotic Analysis
- Divide and Conquer
- Greedy Algos
- Dynamic Programming
- Graph
- Graph representation - Adj. List/Mat
- BFS/DFS
- Bellman/Dijkstra
- Prims
KruskalAll pairs shortest paths
- Proofs: Greedy choice and suboptimality
Q0) Analyze code runtime (algo analysis)
Q1) Implement DFS/BFS on sample graph, know and analyze the run time
Q2) Implement Bellman/Dijkstra on sample graph, know and analyze the run time
Implement Prims on sample graph, know and analyze the run-time off
Q3) Algorithm Design:
- Brute Force
- Divide and Conquer
- Greedy
- Dynamic Programming
- Graph Algo Design
Graph Traversal:
- T = Tree Edge = Encounter new vertex (grey to white)
- B = Back Edge = From descendant to ancestor (grey to grey)
- F = Forward Ede = From ancestor to descendant (grey to black)
- C = Cross Edge = Any other edges (between tree and subtrees) grey to black)