The complexity of an algorithm is a function describing the efficiency of the algorithm in terms of the amount of data the algorithm must process.
'a process or set of rules to be followed in calculations or other problem-solving operations, especially by a computer.''