add lecture pdf for midterm
This commit is contained in:
44
notes/midterm.md
Normal file
44
notes/midterm.md
Normal file
@@ -0,0 +1,44 @@
|
||||
# Alogorithm Midterm Access
|
||||
|
||||
## Sorting Problem
|
||||
|
||||
Comparison Sorts(Lower bound is $\Omega(n \lg n)$ because decision-tree model)
|
||||
|
||||
* Insertion Sort
|
||||
* Selection Sort
|
||||
* Merge Sort
|
||||
* Quick Sort
|
||||
* Heap Sort
|
||||
|
||||
Sorting In Linear Time
|
||||
|
||||
* Counting Sort
|
||||
* Radix Sort
|
||||
|
||||
## Asymtotic Notation
|
||||
|
||||
* $Theta$-notation
|
||||
* $O$-notation
|
||||
* $\Omega$-notation
|
||||
|
||||
Transitivity, Reflexivity, Symmetry, Transpose Symmetry
|
||||
|
||||
Three methods for solving recurrences:
|
||||
1. Substitution method
|
||||
2. Recursion-tree method
|
||||
3. Master method
|
||||
|
||||
**Getting asymtotic notation by recursion tree is important**
|
||||
|
||||
## Dynamic Programming
|
||||
|
||||
* Assembly-line scheduling
|
||||
* Rod cutting
|
||||
* Longest-Common Subsequence
|
||||
* Matrix-chain Multiplication
|
||||
|
||||
## Greedy Algorithm
|
||||
|
||||
* An Activity Selection Problem
|
||||
* Elements of the greedy strategy
|
||||
* Huffman codes
|
||||
BIN
pdf/1.Intro.pdf
(Stored with Git LFS)
Normal file
BIN
pdf/1.Intro.pdf
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
pdf/15.Dynamic Programming.pdf
(Stored with Git LFS)
Normal file
BIN
pdf/15.Dynamic Programming.pdf
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
pdf/16.Greedy Algorithms.pdf
(Stored with Git LFS)
Normal file
BIN
pdf/16.Greedy Algorithms.pdf
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
pdf/2.Getting Started.pdf
(Stored with Git LFS)
Normal file
BIN
pdf/2.Getting Started.pdf
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
pdf/3.Growth of Functions.pdf
(Stored with Git LFS)
Normal file
BIN
pdf/3.Growth of Functions.pdf
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
pdf/4.Divide-and-Conquer.pdf
(Stored with Git LFS)
Normal file
BIN
pdf/4.Divide-and-Conquer.pdf
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
pdf/6.Heapsort.pdf
(Stored with Git LFS)
Normal file
BIN
pdf/6.Heapsort.pdf
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
pdf/7.Quicksort.pdf
(Stored with Git LFS)
Normal file
BIN
pdf/7.Quicksort.pdf
(Stored with Git LFS)
Normal file
Binary file not shown.
BIN
pdf/8.Sorting in Linear Time.pdf
(Stored with Git LFS)
Normal file
BIN
pdf/8.Sorting in Linear Time.pdf
(Stored with Git LFS)
Normal file
Binary file not shown.
Reference in New Issue
Block a user