Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Algorithms

 
La Vish
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there any site I can visit to see how algorithms for java programs are written?
Cheers,
 
Gary Down
Ranch Hand
Posts: 46
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 539
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 539
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
 
Vicken Karaoghlanian
Ranch Hand
Posts: 522
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
La Vish-
I suggest you take a look at the following books.
http://www.amazon.com/exec/obidos/search-handle-form/002-3729319-0292828
 
La Vish
Ranch Hand
Posts: 161
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you guys!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic