The Artima Developer Community
Sponsored Link

Java Answers Forum
good book on algorithms

5 replies on 1 page. Most recent reply: Dec 8, 2003 2:07 PM by Matt Gerrans

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 5 replies on 1 page
Tanya

Posts: 16
Nickname: seabeck
Registered: Nov, 2003

good book on algorithms Posted: Nov 16, 2003 12:09 AM
Reply to this message Reply
Advertisement
Hi I am taking an advanced computing and math class and would like a supplemental book that goes in depth on some of the common algorithms.

It would be helpful if the book showed some examples that were written in a language such as C, C++, or Java.

I am still learning some of the Advanced Data Structures and like to be able to look at samples to help show me how to implement the concepts.

Thank you in advance for pointing me to a couple of great study and learning tools. :)


Clay Dagler

Posts: 21
Nickname: cdagler
Registered: Jul, 2003

Re: good book on algorithms Posted: Nov 16, 2003 6:43 AM
Reply to this message Reply
> Hi I am taking an advanced computing and math class and
> would like a supplemental book that goes in depth on some
> of the common algorithms.
>
> It would be helpful if the book showed some examples that
> were written in a language such as C, C++, or Java.
>
> I am still learning some of the Advanced Data Structures
> and like to be able to look at samples to help show me how
> to implement the concepts.
>
> Thank you in advance for pointing me to a couple of great
> study and learning tools. :)


If you are looking for math/numerical algorithms take a look at
Numerical Recipes in C
by Press, Teukolky, Veterling, and Flannery
I also think there is a new version called
Numerical Recipes in C++

Tanya

Posts: 16
Nickname: seabeck
Registered: Nov, 2003

Re: good book on algorithms Posted: Nov 16, 2003 12:59 PM
Reply to this message Reply
Yes, I am looking for math/numeric algorithms if they include the algorithms such as the 0-1 knapsack, making change algorithm. We are covering how to make algorithms like the fibonacci algorithm more optimal since there are many repeated recurssive calls in the recurrsive algorithm we want to subsitute all the repeated calls with an iterative approach to the algorithm to make it more dynamic.

Thank you for your suggestion and I will take a look at the book.

vivek oswal

Posts: 2
Nickname: vivekoswal
Registered: Nov, 2003

Re: good book on algorithms Posted: Dec 8, 2003 1:50 AM
Reply to this message Reply
> Hi I am taking an advanced computing and math class and
> would like a supplemental book that goes in depth on some
> of the common algorithms.
>
> It would be helpful if the book showed some examples that
> were written in a language such as C, C++, or Java.
>
> I am still learning some of the Advanced Data Structures
> and like to be able to look at samples to help show me how
> to implement the concepts.
>
> Thank you in advance for pointing me to a couple of great
> study and learning tools. :)

Below are some of the finest texts available, what suites your style of comprehension and study should make for the best read:
1. Introduction to algorithms ( rivest, cormen et al.)
This is an MIT press release with a fantastic range of algorithms and their analyses too, albeit all algorithms are described in a psuedo language ( I find the language absolutely comprehensible and easiy convertible to any conventional programming language source code).
2. Algorithms by Robert Sidgewick ( there's an edition for each such language as C,C++ and java too!). The book is fantastic and covers a breadth of algorithms with language implementations and asymptotic complexity analysis too!

3. Algorithms and datastructures by alfred aho, ullman etc.

4. Algorithms by horowitz and sahani

Check out the following link too:
http://www.cs.sunysb.edu/~algorith/

Hope you enjoy your study of algorithms!


regards,
vivek

Isaac Gouy

Posts: 527
Nickname: igouy
Registered: Jul, 2003

Re: good book on algorithms Posted: Dec 8, 2003 8:05 AM
Reply to this message Reply
> Check out the following link too:
> http://www.cs.sunysb.edu/~algorith/

Yes.
The Algorithm Design Manual is really useful.

Matt Gerrans

Posts: 1153
Nickname: matt
Registered: Feb, 2002

Re: good book on algorithms Posted: Dec 8, 2003 2:07 PM
Reply to this message Reply
vivekoswal suggested most of the good ones, but you might also want to have a look at The Art of Computer Programming by Donald Knuth.

There was some discussion of Fibonacci algorithms not long ago here in the Artima forums:
http://www.artima.com/forums/flat.jsp?forum=32&thread=4996&start=15&msRange=15
and then a little later, here:
http://www.artima.com/forums/flat.jsp?forum=32&thread=16936&start=30&msRange=15

Flat View: This topic has 5 replies on 1 page
Topic: want to store the applet content as Image Previous Topic   Next Topic Topic: I am in deep, ..........you knw

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use