• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Good Book on Data Structures and Algorithms in Java

 
king sparrow
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can some one suggest some best books on Data Structure and Algorithms in Java in detail
 
Piet Verdriet
Ranch Hand
Posts: 266
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
king sparrow wrote:Can some one suggest some best books on Data Structure and Algorithms in Java in detail


This is a more general algorithms book, but definitely worth the money!
http://mitpress.mit.edu/catalog/item/default.asp?ttype=2&tid=8570
 
Ulf Dittmer
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I second that - that book is very good. Algorithms are of such a general nature that you shouldn't have problems translating them from pseudo-code (which is how most such books -including Cormen/Leiserson- present algorithms) into any language you happen to be using.

If it were specific to one language -say, Java- you might end up scratching your head, saying: why is he implementing a sorting algorithm, when he could just use Collections.sort?
 
Jelle Klap
Bartender
Posts: 1952
7
Eclipse IDE Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I can recommend Data Structures and Algorithms in Java (2nd Edition) by Robert Lafore. It covers loads of different data structures and sorting/searching algorithms in detail. It does not cover the exact classes in the Java Collections framework, but it does cover all the collection types included in that framework (and more), and provides the full Java source code of their custom implementations. The same is true for the various sorting and searching algorithms. I found it to be an excellent book, which applicability transcends Java.
 
Jesper de Jong
Java Cowboy
Saloon Keeper
Posts: 15441
41
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"king sparrow", please check your private messages for an administrative matter. You can see them by clicking My Private Messages.
 
Vikas Kapoor
Ranch Hand
Posts: 1374
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
we use An Introduction to Data Structures With Applications in our college.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic