What you'll learn:
- Understand running time analysis
- To be able to analyze algorithms' running times
- Understand complexity notations
- Understand complexity classes (P and NP)
This courseis about algorithms running time analysis and complexity theory. In order to be able to classify algorithms we have to define limiting behaviors for functions describing the given algorithm.
We will understand running times such as O(N*logN), O(N), O(logN) and O(1) - as well as exponential and factorial running time complexities.
Thats why big O, big Ω and big θ notations came to be. We are going to talk about the theory behind complexity theory as well as we are going to see some concrete examples.
Then we will consider complexity classes including P (polynomial) as well as NP (non-deterministic polynomial), NP-complete and NP-hard complexity classes.
Section 1 - Algorithms Analysis
how to measure the running time of algorithms
running time analysis with big O (ordo), big Ω (omega) and big θ (theta) notations
complexity classes
polynomial (P)and non-deterministic polynomial (NP)algorithms
Section 2 - Algorithms Analysis (Case Studies)
constant running time O(1)
linear running time O(N)
logarithmic running time O(logN)
quadratic running time complexity O(N*N)
These concepts are fundamental if we want to have a goodgrasp on data structures andgraph algorithms - so these topics are definitely worth considering. Hope you will like it! Thanks for joining my course, let's get started!
These concepts are fundamental if we want to have a goodgrasp on data structures andgraph algorithms - so these topics are definitely worth considering. Hope you will like it! Thanks for joining my course, let's get started!