| |
Comparison of Orders of Algorithms | page 10 of 11 |
We obviously want to use the most efficient algorithm in our programs. Whenever possible, choose an algorithm that requires the fewest number of steps to process data.
The graph below, Order vs. Efficiency in Algorithms, summarizes all the categories in this lesson. Note that both axes in this diagram are exponential in scale.

|