• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java alogorithm  RSS feed

 
saravana kumar L
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

What is difference between algorithm and programing?

How to develope algorithm knowledge?

please guide me on this..
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 37462
537
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Saravana,
Welcome to CodeRanch!

An algorithm is a procedure for solving a problem. Programming could be thought of as typing in code. But it usually includes problem solving. Which includes writing an algorithm.

There are common algorithms like "linear search" that you can read about online or in a book on algorithms.
 
saravana kumar L
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Jeanne ,can suggest any good website for start read
 
Winston Gutkowski
Bartender
Posts: 10575
66
Eclipse IDE Hibernate Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
saravana kumar L wrote:Thanks Jeanne ,can suggest any good website for start read

Unfortunately, there are so many that I doubt a single website will cover all your needs (although I could be wrong).

There are, however, plenty of books on the subject, of which this is the granddaddy of them all. And if you ever read it all the way through, do tell, because I've had my copy for about fifteen years and I still haven't.

And there are a few others in here.

HIH

Winston
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this is the granddaddy of them all.

Those are very good books, but not well suited for beginners, IMO.

The http://www.coderanch.com/how-to/java/HereYouWillFindLinksToFreeStuff page points you to Wirth's Algorithms and Data Structures. Given that it's free (PDF), that is a good starting point. I used Cormen/Leiserson/Rivest Introduction to Algorithms in grad school, and thought that a good book. Neither of these is Java-specific, but I consider that a good thing, given that their subject is about fundamentals.
 
Campbell Ritchie
Marshal
Posts: 56529
172
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Go through our “Java in General” forum, where you will find a discussion about a Coursera algorithms course. That might help.
 
Lindy Lindqvist
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
saravana kumar L wrote:
What is difference between algorithm and programing?


An algorithm provides you with a general solution to a specific problem and programing is how to code it in a certain language. How to code things is specific languages is a subtopic to the general issue of algorithms really.

The most used textbook on the general study of algorithms is Cormen,

http://www.amazon.com/Introduction-Algorithms-Thomas-H-Cormen/dp/0262033844/ref=sr_1_1?ie=UTF8&qid=1393115273&sr=8-1&keywords=cormen

There are also books specific to Java. Search Amazon for "algorithms data structures Java".

 
Bobby Sharma
Ranch Hand
Posts: 598
3
Google App Engine jQuery Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello , the above experienced people suggested you some great books. I would also like to give you some information about algorithm. Currently , I am following this good book named Introduction to Algorithms by T H O M A S H. C H A R L E S E. R O N A L D L. C L I F F O R D STEIN R I V E S T L E I S E R S O N CORMEN. Also , There is a YouTube video playlist available created by Derek Bana. He teaches Data Structures in Java with fun style. When I asked the same questions Java Ranch bartenders suggested me to solve arithmetic and logical reasoning puzzles to increase thinking in programming. Have a nice day.

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!