Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.
Algorithms in C++ Part 5: Graph Algorithms, 3/e (Pt.5) and over 300,000 other books are available for Amazon Kindle – Amazon’s new wireless reading device. Learn more

 

or
Sign in to turn on 1-Click ordering.
 
 
More Buying Choices
15 used & new from $47.99

Have one to sell? Sell yours here
 
   
Algorithms in C (paperback)
 
 
Start reading Algorithms in C++ Part 5: Graph Algorithms, 3/e (Pt.5) on your Kindle in under a minute.

Don’t have a Kindle? Get yours here.
 
  

Algorithms in C (paperback) (Paperback)

by Robert Sedgewick (Author)
3.5 out of 5 stars See all reviews (32 customer reviews)

List Price: $59.99
Price: $59.99 & this item ships for FREE with Super Saver Shipping. Details
o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o o
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Wednesday, July 22? Choose One-Day Shipping at checkout. Details
9 new from $47.99 6 used from $50.96
Also Available in: List Price: Our Price: Other Offers:
Kindle Edition (Kindle Book) $35.19
Hardcover (2nd Edition) $64.99 $51.99 49 used & new from $1.00
Paperback (3) $54.99 $49.49 31 used & new from $19.95

Frequently Bought Together

Algorithms in C (paperback) + Algorithms in C++, Parts 1-4: Fundamentals, Data Structure, Sorting, Searching (3rd Edition) (Pts. 1-4) + The C++ Standard Library: A Tutorial and Reference
Price For All Three: $176.67

Some of these items ship sooner than the others. Show details


Customers Who Bought This Item Also Bought


Editorial Reviews

Amazon.com Review
Robert Sedgewick's Algorithms series has earned a place among the classics of computer books. Algorithms in C++ provides a comprehensive collection of classic algorithms for sorting, searching, parsing, geometrical manipulation, and more. The book includes not just C++ code but detailed--yet readable--explanations of how it works and what each algorithm's advantages and disadvantages are in terms of execution time and memory demands. An invaluable and timeless resource. --This text refers to the Hardcover edition.

Product Description
This new version of the best-selling book, Algorithms, SecondEdition, provides a comprehensive collection of algorithmsimplemented in C. A variety of algorithms are described in eachofthe following areas: sorting, searching, string-processing,geometric, graph, and mathematical algorithms. These algorithmsare expressed in terms of concise implementations in C, so thatreaders can both appreciate their fundamental properties and testthem on real applications. The treatment of analysis of algorithms is carefully developed. When appropriate, analytic results are discussed to illustratewhy certain algorithms are preferred, and in some cases, therelationship of the practical algorithms being disussed to purelytheoretical results is also described. Features *Hundreds of detailed, innovative figures clearly demonstratehow important algorithms work. *Throughout the book, "properties" sections encapsulatespecific information on the performance characteristics ofalgorithms. *Six chapters present fundamental concepts, including a briefintroduction to data structures. Algorithms in C provides readers with the tools to confidentlyimplement, run, and debug useful algorithms.This book may beuseful for self-study, or as a reference for people engaged inthe development of computer systems for applications programs.

See all Editorial Reviews

Product Details

  • Paperback: 672 pages
  • Publisher: Addison-Wesley Professional; 1 edition (March 19, 2009)
  • Language: English
  • ISBN-10: 0768682339
  • ISBN-13: 978-0768682335
  • Product Dimensions: 9.5 x 6.6 x 1.5 inches
  • Shipping Weight: 2.2 pounds (View shipping rates and policies)
  • Average Customer Review: 3.5 out of 5 stars See all reviews (32 customer reviews)
  • Amazon.com Sales Rank: #1,270,931 in Books (See Bestsellers in Books)

    Popular in this category: (What's this?)

    #22 in  Books > Computers & Internet > Programming > C > Algorithms

Look Inside This Book



Suggested Tags from Similar Products

 (What's this?)
Be the first one to add a relevant tag (keyword that's strongly related to this product).
Check a corresponding box or enter your own tags in the field below.
(12)
(8)

Your tags: Add your first tag
 
Help others find this product — tag it for Amazon search
No one has tagged this product for Amazon search yet. Why not be the first to suggest a search for which it should appear?

 

Customer Reviews

32 Reviews
5 star:
 (10)
4 star:
 (7)
3 star:
 (8)
2 star:
 (2)
1 star:
 (5)
 
 
 
 
 
Average Customer Review
3.5 out of 5 stars (32 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
20 of 20 people found the following review helpful:
5.0 out of 5 stars Great for Algorithms, perhaps not for C++ implementations, August 11, 2001
By "optimistix" (London, UK) - See all my reviews
This review is from: Algorithms in C++ (Hardcover)
This is easily one of the leading texts on data structures and algorithms - a third edition has already been released (however, that is practically a new book ,so read on :-)...). Sedgewick is a student of the great Donald Knuth, and a leading researcher and authority in the field of Algorithmics.

'Pound for pound', this might be as good as Cormen et al's classic, which is the undisputed leader among introductory books on algorithms. However, this has two advantages over that book :

(1)Size : Weighing in at a lean 656 pages, this is almost 40% smaller than Cormen's classic, while providing approximately the same breadth. However, Cormen has the edge in depth, especially rigorous analysis of algorithms' performance.

(2)'Real' code : This book has code snippets in C++, as opposed to Cormen which has it in pseudocode.However, the code is far from 'ready to run' - it's just enough to give you an idea how to go about building your own code.

Another plus point is short and crisp chapters which can be easily 'digested' - average chapter size is only about 14 pages.

This book really covers a lot of topics - sorting, searching, parsing, computational geometry, graphs, fast fourier transforms, mathematical algorithms and much,much more.

It is written in a very readable style, and the illustrations are a big help, perhaps the best in a book of this kind. It would've benefitted from a few more exercises, brief solutions, and a little more rigour in performance analysis.

The code is excellent at one level, but it's actually excellent C code masquerading as C++ code, i believe.

If you have no problem with C, you should perhaps go for the C version of this book - the C code is reminiscent of Kernighan & Ritchie. Beautiful, elegant C code !!

If it's good C++ code that you're after, perhaps Mark Allen Weiss's book or Heileman's book might be a better choice. Also, the new (3rd) edition of this book has much better C++ code.

If you want more depth and rigour, and are willing to work a little harder, then Cormen's the way to go.

However, if you want a bit of everything in one compact book, then this is the best choice.

(Sedgewick's come up with a recent revision, but it's spread over several volumes - not sure whether that's a better choice, however the C++ code seems much better in that, with C++ consultancy by Chris Van Wyk, another student of the great Don Knuth)

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
12 of 12 people found the following review helpful:
5.0 out of 5 stars Attention : These are NOT reviews for part 5, March 6, 2002
By "optimistix" (London, UK) - See all my reviews
Just wanted to let everyone know that the reviews here (till 6th March
2002 at any rate) are not of the book 'Algorithms in C++ part 5
graph algorithms' by Robert Sedgewick, but of the earlier edition of
his book on algorithms.

To get an idea of the book it's supposed to be about, please refer to
the review(s) on 'Algorithms in C part 5 graph algorithms', which i
expect to identical but for the code.

It'd be surprising indeed if the book isn't substantially better than
the reviews for the earlier book indicate ..........

The first volume, ie parts 1-4 are excellent - please refer to the
reviews on that, they're for the current edition :-)

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
11 of 11 people found the following review helpful:
3.0 out of 5 stars Good content but hard to read, January 17, 2004
By Christophe Keller (Amel, Belgique) - See all my reviews
(REAL NAME)   
I'm a learned industrial engineer in electronics but got into informatics right after my degree. So I never had a course on algorithmic and had to learn nearly everything by myself.

After some years of working in the field, I tought it was maybe time to get some background on the subject so I got this (now an outdated edition) of the book.

Well, it was the book it took the longest to me to finish in the informatics field.

The book explains a whole bunch of basic and more advanced general-purpose algorithms, and so has a good coverrage of the subject.

However, there are two problems with the book:

1) The coding style is very bad: the author likes to use global variables, and variable names are often very cryptic. Example:
* p = parent
* g = grandparent
* gg = greatgrandparent
* c = child
* x = current node
* y = temporary node
...

2) You cannot read this book's chapters in a random way: you have to follow the chapter ordering, because often knowledge of later chapters is based of knowledge of earlier chapters, and, because of the bad coding style you have to often remember the meaning of the cryptic variable names several chapters later when they are reused. If you're like me, you've forgotten the meaning, which means reread that damn chapter, which in turn can again be based on an earlier chapter. You get the picture why it took me so long?

Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


Share your thoughts with other customers: Create your own review
 
 
Ad
 
Most Recent Customer Reviews

3.0 out of 5 stars Plain average!
This is an okay book. The algorithms are described in great detail (actually sometimes too much detail), moreover it is not very mathematical. Read more
Published on May 24, 2007 by Jahanzeb Farooq

4.0 out of 5 stars Bought this to complete the series...
I don't intend to read this book from front to back (well maybe one day if I get really bored) but I think this book does a very good job explaining the algorithm without getting... Read more
Published on July 8, 2005 by Alan Chen

3.0 out of 5 stars Best of the bunch
I had to teach this course and must see it is the pick of the books I have seen on this subject though it is far from ideal. Read more
Published on April 20, 2004 by I. McInnes

2.0 out of 5 stars to difficult to understand
i feel writer is confused and writes very jumbled together spaghetti code.
to tough to uderstand
horrible reference book
Published on February 13, 2003 by Joseph

3.0 out of 5 stars not as good as pascal version
I bought "Algorithms" by the same author (the pascal version) and it was one of the most absorbing textbooks I have read; great book. Read more
Published on November 16, 2000

4.0 out of 5 stars Classic text, but those looking for OOP may be disapointed
I first read Sedgewick's Algorithms many years ago for a programming class in college. I was impressed at the time by it's clear presentation and thorough handling of the most... Read more
Published on June 20, 2000 by molly24

1.0 out of 5 stars the worst code examples ever seen
The code examples in this book require cryptography to interpret - the idea of meaningful variable names is not something that the author subscribes to. Read more
Published on June 1, 2000 by crispin@cs.man.ac.uk

5.0 out of 5 stars If you want algorithms, you want this book
The code isn't very easy to read (the only downfall), but it is efficient, and that's what I want.. Take the book Introduction to Algorithms, take out the math, squish it and you... Read more
Published on March 22, 2000 by Jack L

1.0 out of 5 stars Decent but I know a much better book.
I have read this book and found that most of the code examples are useless. Don't think I am one of those people who want code and not theory, I just think it helps to have a... Read more
Published on March 20, 2000 by Jonathan Ullman

4.0 out of 5 stars Very intuitive, but code examples could be clearer
The algorithm descriptions are, for the most part, reasonably easy to follow. The diagrams help to give you a very intuitive "feel" of how each algorithm works, and how... Read more
Published on January 27, 2000 by Chris Gurnee

Only search this product's reviews



Customer Discussions

 Beta (What's this?)
New! See all customer communities, and bookmark your communities to keep track of them.
This product's forum (0 discussions)
  Discussion Replies Latest Post
  No discussions yet

Ask questions, Share opinions, Gain insight
Start a new discussion
Topic:
First post:
Prompts for sign-in
  [Cancel]

   


Product Information from the Amapedia Community

Beta (What's this?)



Look for Similar Items by Category


Think Green and Use Hand Tools

Think Green and Use Hand Tools
If you're adopting a greener lifestyle, check out our extensive variety of hand tools. Take advantage of great pricing on our full range of hand tools, including clamps, hammers, wrenches, and more.

Shop all hand tools

 

Best Books of 2008

Best of 2008
Find our top 100 editors' picks as well as customers' favorites in dozens of categories in our Best Books of 2008 Store.
 

Buy Three Books, Get a Fourth Free

4-for-3 Books
Order any four eligible books under $10 and get the lowest-price book free in our 4-for-3 Books Store. See more details.
 

Best Books

Best of the Month
See our editors' picks and more of the best new books on our Best of the Month page.
 
Ad

 

Feedback

If you need help or have a question for Customer Service, contact us.
 Would you like to update product info or give feedback on images?
Is there any other feedback you would like to provide?

Your comments can help make our site better for everyone.


Where's My Stuff?

Shipping & Returns

Need Help?

Your Recent History

  (What's this?)
You have no recently viewed items or searches.

After viewing product detail pages or search results, look here to find an easy way to navigate back to pages you are interested in.

Look to the right column to find helpful suggestions for your shopping session.

Continue shopping: Top Sellers
Free
Free by Chris Anderson
Paranoia
Paranoia by Joseph Finder
The Adventures of Sherlock Holmes
The Adventures of Sherlock Holmes by Arthur Conan, Sir, 1859-1930 Doyle
Glenn Beck's Common Sense

Conditions of Use | Privacy Notice © 1996-2009, Amazon.com, Inc. or its affiliates