An algorithm is a recipe for accomplishing some computational task.
Dictionary of Algorithms and Data Structures : an index to general-purpose algorithms maintained by the NIST