add lecture pdf for midterm

This commit is contained in:
2025-10-24 02:13:15 +09:00
parent aa95c26224
commit c4ea7b971a
10 changed files with 71 additions and 0 deletions

44
notes/midterm.md Normal file
View 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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.

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

Binary file not shown.