
Welcome to this course on Algorithm Analysis.
In this lecture is an introduction to algorithm analysis, and why it is important.
In this lecture you will learn about a few algorithms.
The lecture demonstrates that f(n) = n^2 is big omega of g(n) = n by showing that for n ≥ 3, n^2 ≥ 3n, so f(n) ∈ Ω(g(n)).
The video demonstrates that 3n+1 is big omega of n by choosing c=2 and k=5. It shows that for all n≥5, 3n+1 ≥ 2n, confirming the big omega relationship.
Prove big data using the definitions of big O and big Omega, and show that 2n is in big data with c1=c2=2 for n≥5.
Analyze the time complexity of a nested loop by converting it to summations, then show the constant loop body yields quadratic time in the worst case.
Convert a simple function into a recurrence relation by identifying the base case and the recursive case with constant work. The relation is T(n)=T(n−1)+C with T(1)=O(1).
learn to analyze recursive functions using iterative substitution, derive running-time recurrences for t(n), and express the result as a summation of powers of two.
In this algorithm analysis course you will learn the definitions of Big O, Bog Omega, and Theta. By the end of the course you will understand what these terms mean , why we use them, and how to solve algorithms and programs with them. This is a short course and only takes about 90 minutes to complete. In this course there are plenty of examples and quizzes to learn from so that you are sure to understand the lectures and the material.