aspose file tools*
The moose likes Java in General and the fly likes Best book for Data Structures and Algorithm? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Best book for Data Structures and Algorithm?" Watch "Best book for Data Structures and Algorithm?" New topic
Author

Best book for Data Structures and Algorithm?

Navneet Singh
Greenhorn

Joined: Aug 19, 2007
Posts: 29

I don't know whether this post is valid here or not? Could anyone help me to tell about the best book for Data Structures and Algorithm. I'm basically looking for the detailed implementation of List, Map and Set. Which explained the Big 'O' notation and algorithm for sorting techniques. And obviously a JAVA implementation.
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
Why not go for the source? The Java implementations of the Collections classes are part of the JDK in a file called src.zip.

As for a good book, Cormen/Leiserson/Rivest is very good, but far from free. Wirth's classic Algorithms & Data Structures is free, on the other hand.
Praveen Kumar M K
Ranch Hand

Joined: Jul 03, 2011
Posts: 256
If you are a beginner, please do have a look at Robert Lafore's Data Structures and Algorithms in Java. Conceptually very clear.
Winston Gutkowski
Bartender

Joined: Mar 17, 2011
Posts: 8427
    
  23

Navneet Singh wrote:Could anyone help me to tell about the best book for Data Structures and Algorithm.

Colour me old-fashioned, but as far as I'm concerned the grandaddy of all books on algorithms is still one of the best: 'The Art of Computer Programming' by Donald Knuth. However, it is not for the faint of heart and, unless you have a background in maths or logic, some of it may go over your head (as it still does mine).

Also, since it was first printed over 40 years ago (although it's been in almost continuous print ever since) you won't find much Java code. That doesn't stop it from being a great reference though; and if, as Tim suggested, you do look at the Java source code, you'll find it quoted quite a bit.

Winston
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Best book for Data Structures and Algorithm?