To analyze an
algorithm is to determine the amount of resources (such as time and storage) necessary to execute it. Most algorithms are designed to work with inputs of arbitrary length. Usually the efficiency or
complexity of an algorithm is stated as a function relating the
input length to the number of steps (time complexity) or storage locations (space complexity).
See more at Wikipedia.org...