Professional Documents
Culture Documents
CH One Part 1
CH One Part 1
College of Informatics
Computer science & engineering Department
Chapter 1
Introduction
Characteristics of an Algorithm
…
Advantage and disadvantages of Algorithms:
Algorithm design paradigms
Brute force paradigm
Divide and conquer paradigm
Backtracking paradigm
…
Greedy paradigm
Example …
Dynamic programming paradigm
…
…
Discussion time (5 min)
Paradigm choice
Writing an algorithm
…
Algorithm Analysis Concepts
Reasons to perform analyze algorithms
How to Measure Efficiency/performance?
Drawbacks of empirical methods
Machine independent analysis
…
…
Examples: Count of Basic Operations T(n)
Formal Approach to Analysis
…
…
Exercises
Types of Algorithm complexity analysis
Best, Worst and Average Cases
Order of Growth and Asymptotic Analysis
Growth rates
Rate of Growth
Visualizing Orders of Growth
Asymptotic analysis
…
Big-Oh Notation
…
Examples
Order of common functions
Implication of Big-Oh notation
Big-Omega Notation
Theta Notation
More notations