Introduction
Loop Variant
Insert Sort: Loop Variant
Initialization
Maintenance
Termination
Running Time
Insertion Sort: Running Time
Big-O Notation
is a set of functions, all functions that do not grow faster than g(n). O() gives an upper bound on a function.
n =
2n =
n =
Prove
Assume that
Big- Notation
- Ω(g(n)) is a set of functions all functions that do not grow slower than g(n).