Rank each algorithm performance classification from fastest
Rank each algorithm performance classification from fastest (1) to slowest (6).
quadratic
constant
logarithmic
exponential
linear
log-linear
1 (Fastest)
2
3
4
5
6 (Slowest)
Rearrange the left and right answers so that they\'re matched. |
|
Solution
Constant is the fastest performing algorithm.
And therefore, the algorithm performance order is:
| 1 | 2 | 3 | 4 | 5 | 6 |
| constant | logarithmic | linear | log-linear | quadratic | exponential |
