• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

algorithm book with java examples

 
Ranch Hand
Posts: 393
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
Can any one suggest some good book with algorithm like search and data structure with java examples.
For datastructure i already lknow one good site http://theparticle.com..
For i am looking for some thing on algorithms...with java examples.
Thanks
 
Ranch Hand
Posts: 1953
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There was an excellent discussion about algorithms in JCHQ.net, I could not find now.
IMHO, algorithm book is better written language neutral, or in other words, in psuedo code. All good algorithm books are written that way. You will definitely learn better too.
I know, it is not going to be a popular opinion here.
Roseanne
 
Ranch Hand
Posts: 156
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi James,
I'm in search for a good one too. What initially caught my fancy was the Wiley book, but the first edition got poor reviews from Amazon. I don't know how improved is the second edition, which was just released. The Waite Group's got the highest rating instead. If you have any luck, please let me know.
BTW, thanks for the link
Ex Animo Java!
-- Val
[ February 13, 2002: Message edited by: Val Pecaoco ]
 
Ranch Hand
Posts: 782
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think think the Waites Group's is best.Furthermore, i think one should go for learning Algorithms in general rather than language specific.
Bye.
Viki.
SCJP2
[ February 14, 2002: Message edited by: Vikrama Sanjeeva ]
 
author
Posts: 621
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I think any decent book will provide plenty of 'generic' material on algorithms. When you go to implement these algorithms, however, it's helpful to see them in a language you are going to be working in. Why study code in pascal when you're going to be implementing it in Java (yes, the mental exercise of translating them doesn't hurt, but...)? As well, there are nuances that are language specific (such as link lists with or without pointers). You might as well see how an experienced author has dealt with these issues in the language you interested in. I think the argument that language doesn't matter is valid in a pure sense but I don't it adds any value. We must keep in mind the a student learning algoithms for the first time may not have the tools to say "Hey algorithms are algorithms - any book will do".
Sean
 
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
From a language-neutral perspective, you cannot get a better book than Cormen.
For data structures & algorithms in java, I would recommend the following 2 books:

Data Structures & Algorithm Analysis in Java by Mark Allen Weiss
Data Structures in Java by Thomas Standish
If you are a newbie to data structures, I would recommend Standish. Weiss is more of a graduate-level book, although his code is very elegant/concise, something we rarely see in programming books.
I would avoid the Waite book. I had a quick glance at it at a local book-store, and found it to be horrible, with poorly-written code, and many obvious mistakes.
[ February 19, 2002: Message edited by: Junaid Bhatra ]
 
It's a tiny ad. At least, that's what she said.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic