Is there any site I can visit to see how algorithms for java programs are written? Cheers,
La Vish
SCJP 1.4, President 60s Club
Gary Down
Ranch Hand
Joined: Apr 09, 2004
Posts: 46
posted
0
Given these 2 definitions of algorithm, your request may need to be a bit more specific. Gary.
WordNet Dictionary
Definition: [n] a precise rule (or set of rules) specifying how to solve some problem
Computing Dictionary
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).
Tim West
Ranch Hand
Joined: Mar 15, 2004
Posts: 539
posted
0
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,
--Tim
Tim West
Ranch Hand
Joined: Mar 15, 2004
Posts: 539
posted
0
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 ]