add lecture pdf for midterm
This commit is contained in:
1 parent
aa95c26224
commit
c4ea7b971a
10 files changed
+71
No files matched your search
@@ -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
|
||||
LFS
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
Binary file not shown.
BIN
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user