...
/Visualize Common Rules for Runtime Analysis
Visualize Common Rules for Runtime Analysis
Visualize the common rules of runtime analysis of the algorithms.
Multiplicative constants
Multiplicative constants can be omitted. The following plot visualizes that and have the same growth rate.
The larger degree grows faster
Out of two polynomials, the one with a larger degree grows faster. The plot below shows the polynomial functions , , and for .
The plot illustrates that grows faster than and grows faster than .
Polynomial grows slower than exponential
Any polynomial grows slower than any exponential. Let’s plot ...