# Algorithm Efficiency: Example Problems

Please help with these 2 problems in algorithm efficiency. View attached file.

1. Rank the terms of the following function according to their order of growth. Give explanation.

2. Consider the following algorithm where n is a positive integer.

What is the efficiency class of this algorithm? Show your reasoning.

© BrainMass Inc. brainmass.com May 20, 2020, 5:47 pm ad1c9bdddfhttps://brainmass.com/computer-science/algorithms/algorithm-efficiency-example-problems-244509

#### Solution Summary

Provides steps necessary to determine the algorithm efficiency problems.

$2.19