Homeworks
-
Divide and Conquer
-
- Parallel Sum
- Matrix Multiplication
- Parallel Inner Product
- Parallel Merge Sort
-
- Fibonacci Sequence
- Longest Common Sequence
- Knapsack Problem
- Matrix Chain Multiplication: increasing in gaps
-
- Reachability and Connectivity
- Directed Graph
-
- Single Source Shortest Path
- BFS Shortest Path (vertex creation, alarm clock method)
- Dijkstra’s
- A*
- Bellman-Ford
- All-Source Shortest Path: Floyd-Warshall
- Single Source Shortest Path
-
Maximum Flow Problem (=Min-cut, Edge matching)
- Min Cut
- Edge Matching
-
- Polynomial Reduction
- Boolean Decision Problem
- Cooke-Levin Theorem
- CNF-SAT 3-SAT
- Vertex Cover Subset Sum
- Subset Sum Knapsack Problem
- Common Graph Problems
- Independent Set
- Clique
- Vertex Cover
- Triangle Cover
- Linear Programming
-
- Load Balancing
- Set Cover
- Traveling Salesperson Problem
- Christofides Approximation (1.5-level)
- K-Clustering Problem
- K-Max: Maximum distance to closest center
- K-Means: Mean per center
- Llyod’s Approximation (2-level)
- K-Means++ Approximation (<2-level)
-
- Uniformity
- Universality
- Linear Congruence Hashing
- Multiply Shift Binary Hashing