Given these 2 definitions of algorithm, your request may need to be a bit more specific. Gary.
Definition: [n] a precise rule (or set of rules) specifying how to solve some problem
Definition: A detailed sequence of actions to perform to accomplish some task. Named after an Iranian mathematician, Al-Khawarizmi. Technically, an algorithm must reach a result after a finite number of steps, thus ruling out brute force search methods for certain problems, though some might claim that brute force search was also a valid (generic) algorithm. The term is also used loosely for any sequence of actions (which may or may not terminate).
I'd say there is common understanding of the word 'algorithm' within the context of programming (as opposed to mathematics, say). Google is your friend here - a whole truckload of sorting algorithms are demonstrated here, with Java source code. I'm sure there are other algorithms around if you look. Cheers,
OK, having read what I just wrote, let me cover my a$$... I'd say there is sufficiently common understanding of the term 'algorithm' that I can guess what you're looking for, and recommend a site that may help. Hmm, having added that, I feel much safer --Tim [ April 29, 2004: Message edited by: Tim West ]