Docsity

Midterm Review Checklist - Algorithm Design | ECS 122A, Study notes of Computer Science

Toggle sidebar
bg1
ECS122A: Algorithm Design and Analysis Handout
Midterm Review Checklist May 7, 2009
Here are a list of algorithm design and analysis techniques, algorithms, math, concepts and definitions
that you should know from lecture, discussion and homework. This is not meant to be comprehensive.
It is merely a reminder of what we have covered so far.
Algorithm design and analysis techniques, and case stdudies
1. Divide and Conquer
Computing the nth Fibonacci number
MergeSort (vs. Insert sort)
Strassen’s algorithm for matrix multiplication
Maximum and minimum finding
Searching for A[i] = iin an array A
2. Dynamic Programming
Assembly-line scheduling
Longest common subsequence
Maximum common substring
0-1 knapsack problem
Money changing
3. Greedy algorithms
Activity-selection problem
Activity-lecture hall scheduling problem
Data compression via Huffman coding
Knapsack problem (0-1 and fractional)
Job scheduling problem
Definitions and concepts
1. Mathematical induction
2. Worst-case and average-case analysis
3. Order of growth
4. O, Ω,Θ notations
5. Recurrences
6. The master theorem
1
pf2

Partial preview of the text

Download Midterm Review Checklist - Algorithm Design | ECS 122A and more Study notes Computer Science in PDF only on Docsity!

ECS122A: Algorithm Design and Analysis Handout Midterm Review Checklist May 7, 2009

Here are a list of algorithm design and analysis techniques, algorithms, math, concepts and definitions that you should know from lecture, discussion and homework. This is not meant to be comprehensive. It is merely a reminder of what we have covered so far.

Algorithm design and analysis techniques, and case stdudies

  1. Divide and Conquer Computing the nth Fibonacci number MergeSort (vs. Insert sort) Strassen’s algorithm for matrix multiplication Maximum and minimum finding Searching for A[i] = i in an array A
  2. Dynamic Programming Assembly-line scheduling Longest common subsequence Maximum common substring 0-1 knapsack problem Money changing
  3. Greedy algorithms Activity-selection problem Activity-lecture hall scheduling problem Data compression via Huffman coding Knapsack problem (0-1 and fractional) Job scheduling problem

Definitions and concepts

  1. Mathematical induction
  2. Worst-case and average-case analysis
  3. Order of growth
  4. O, Ω, Θ notations
  5. Recurrences
  6. The master theorem
  1. Iteration method and recursion tree
  2. Divide and conquer – three steps (a)

(b)

(c)

  1. Dynamic programming – two necessary conditions: (a)

(b)

  1. Greedy algorithms – two necessary conditions: (a)

(b)

  1. Memoization

Math

  1. Set notations
  2. Set of functions

∑^ n i=

i

∑^ n i=

i^2

∑^ n i=

i

  1. Sum of a geometric series ∑ni=0 xi
  2. n Harmonic number
  3. Fibonacci numbers
  4. Binomial coefficients
  5. Floors and ceilings
  6. Properties of logarithms and exponents
  7. L’H¨opital’s rule