Discussion Notes for ECS-122A "Algorithm Design and Analysis" Spring 2019 at UC Davis.
MIT License
Copyright (c) 2019 Ji Wang
- Mathematical Induction
- Recursion, Stack
- Merge Sort
- Mathematical Review: Polynomial, Exponential, Logarithms, and their Derivatives
- Asymptotic Notation
- Solving Recurrence Relation:
- Substitution method
- Master theorem
- Mathematical Review: Polynomial, Exponential, Logarithms, and their Derivatives
- Asymptotic Notation
- Solving Recurrence Relation:
- Substitution method
- Master theorem
- Divide and Conquer: Chip Testing
- Divide and Conquer: Chip Testing
- Divide and Conquer: Stock Investment
Greedy Algorithms: Off-line Caching
- Recap: Largest Common Subsequence Problem
- Dynamic Programming VS Divide and Conquer
- Dynamic Programming: Image Compression
- Revisit: Edit Distance
- Implementation in Python3: Edit Distance
- Variant: DNA Matching
- Graph Basics
- DFS & BFS
- Minimum Spanning Tree
- Single-Source Shortest Paths
- MST VS SSSP
Review Homework 8
- P, NP, NP-complete
- How to prove a problem is NP-complete