On Saturday, I finished MIT's Lecture 2 which covered the below subjects.It was fairly mathematical
- Asymptotic notation , Big O, Big Omega, Big Theta, Small Omega, Small O notations
- Asymptotic analysis of recursive functions
- Substitution Method
- Recursive tree Method
- Master Theorem Method
I also read basics of Arithmetic Series, Geometric Series and Logarithms
I implemented a basic Merge Sort
On sunday I took the Lecture 3 from MIT's open course ware which covered Divide-and-Conquer: Strassen, Fibonacci, Polynomial Multiplication.This lecture covered a lot of neat ways of doing things like Fibonacci numbers and powering a number etc.Specifically it covered
- Recap of Master Theorem
- What is Divide and Conquer(Recursion)
- Running time of Merge Sort using Master Theorem
- Running time of Binary Search
- Powering a number (naive way and divide and conquer way)
- Fibonacci Sequence (Naive recursion, bottom up, naive recursive squaring(using golden ratio),recursive squaring(using Matrix multiplication) )
- Matrix Multiplication - Divide and Conquer using Strassens method
- Embedding a binary tree on a chip - (Naive way which needs area of n*lg(n) and another method(derived using Master Theorem) which needed a area of n)
I want to finish chapter 4 in the Introduction to Algorithms book (which is recommended for the course) which covers the substitution method, recursion tree method and master theorem before I proceed further with the lecture.That way I will have a better understanding of the Math involved and help me understand other lectures better.Hopefully I can do that tomorrow.
No comments:
Post a Comment