Join Amazon Prime and ship Two-Day for free and Overnight for $3.99. Already a member? Sign in.

 

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

Have one to sell? Sell yours here
 
   
Mastering Algorithms with C
 
 
Tell the Publisher!
I’d like to read this book on Kindle

Don’t have a Kindle? Get yours here.
 
  
3.4 out of 5 stars See all reviews (15 customer reviews)

List Price: $39.95
Price: $26.37 & this item ships for FREE with Super Saver Shipping. Details
You Save: $13.58 (34%)
In Stock.
Ships from and sold by Amazon.com. Gift-wrap available.

Want it delivered Thursday, July 16? Choose One-Day Shipping at checkout. Details
19 new from $19.67 18 used from $9.93
Like this book? Find similar titles from O'Reilly and Partners in our O'Reilly Bookstore.

Best Value

Buy Algorithms in a Nutshell (In a Nutshell (O'Reilly)) and get Mastering Algorithms with C at an additional 5% off Amazon.com's everyday low price.

Algorithms in a Nutshell (In a Nutshell (O'Reilly)) + Mastering Algorithms with C
Buy Together Today: $56.54

Show availability and shipping details


Customers Who Bought This Item Also Bought

Practical C Programming, 3rd Edition

Practical C Programming, 3rd Edition

by Steve Oualline
4.0 out of 5 stars (49)  $23.07
Expert C Programming

Expert C Programming

by Peter van der Linden
4.5 out of 5 stars (83)  $33.53
C Programming Language (2nd Edition) (Prentice Hall Software)

C Programming Language (2nd Edition) (Prentice Hall Software)

by Brian W. Kernighan
4.7 out of 5 stars (271)  $43.18
C in a Nutshell (In a Nutshell (O'Reilly))

C in a Nutshell (In a Nutshell (O'Reilly))

by Peter Prinz
4.7 out of 5 stars (9)  $26.37
C Pocket Reference

C Pocket Reference

by Peter Prinz
4.2 out of 5 stars (5)  $9.95
Explore similar items

Editorial Reviews

Amazon.com Review
Written with the intermediate to advanced C programmer in mind, Mastering Algorithms with C delivers a no-nonsense guide to the most common algorithms needed by real-world developers.

The highlight of the book has to be its concise and readable C functions for all the algorithms presented here, including basics like linked lists, stacks to trees, graphs, and sorting/searching algorithms. The C functions that implement these algorithms are clearly printed and remarkably easy to read. You can use this sample code directly or adapt it into your C/C++ code.

Although mathematical concepts like Big-O notation are discussed, the authors don't get bogged down in the computer science theory surrounding algorithms. Instead, they present the most tried-and-true algorithms available today in an efficient format. Besides introducing each algorithm, they describe how each is used in computing today, along with a short demo application. Some of these samples are quite low-level, such as a virtual memory manager implemented with linked lists. Most examples are more of general interest, such as a graphing example that counts network hops.

Each section ends with questions and answers about how the algorithms work, along with references to other algorithms (both in the book and from other sources). The authors concentrate on the most useful algorithms available today and don't try to cover every available variation. Busy readers will appreciate the intelligent selection--and efficient presentation--used here.

There are a number of books on C algorithms, but Master Algorithms with C is one of the most concise and immediately useful. It's a perfect choice for the working C/C++ programmer who's in a hurry to find just the right algorithm for writing real-world code. --Richard Dragan

Topics covered: Algorithm efficiency, pointer basics, arrays, recursion, Big-O Notation, linked lists, stacks, queues, sets, hash tables, trees and B-trees, searching, heaps and priority queues, graphs, sorting and searching algorithms, numerical methods, data compression, Huffman coding, LZ77, data encryption, DES, RSA, graph algorithms, minimum spanning trees, geometric algorithms, and convex hulls.

From Library Journal
Although older than some of the current languages, C still is one of the best general purpose programming languages around. Loudon's book discusses C pointers, recursion, data structures from lists and stacks to trees and graphs, sorting and searching, and encryption. This is not a beginner's manual but will work well for programmers wanting to refresh their C techniques and for those moving from another language to C.
Copyright 1999 Reed Business Information, Inc.

See all Editorial Reviews


Product Details


Inside This Book (learn more)

What Do Customers Ultimately Buy After Viewing This Item?

Mastering Algorithms with C
71% buy the item featured on this page:
Mastering Algorithms with C 3.4 out of 5 stars (15)
$26.37
Algorithms in a Nutshell (In a Nutshell (O'Reilly))
10% buy
Algorithms in a Nutshell (In a Nutshell (O'Reilly)) 4.2 out of 5 stars (5)
$31.49
Practical C Programming, 3rd Edition
9% buy
Practical C Programming, 3rd Edition 4.0 out of 5 stars (49)
$23.07
C Pocket Reference
6% buy
C Pocket Reference 4.2 out of 5 stars (5)
$9.95

Tags Customers Associate with This Product

 (What's this?)
Click on a tag to find related items, discussions, and people.
Check the boxes next to the tags you consider relevant or enter your own tags in the field below.

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?

Sell a Digital Version of This Book in the Kindle Store

If you are a publisher or author and hold the digital rights to a book, you can sell a digital version of it in our Kindle Store. Learn more

 

Customer Reviews

15 Reviews
5 star:
 (4)
4 star:
 (4)
3 star:
 (3)
2 star:
 (2)
1 star:
 (2)
 
 
 
 
 
Average Customer Review
3.4 out of 5 stars (15 customer reviews)
 
 
 
 
Share your thoughts with other customers:
Most Helpful Customer Reviews

 
25 of 27 people found the following review helpful:
5.0 out of 5 stars Exceptional writing, elegant code, great examples, September 13, 1999
By A Customer
Mastering Algorithms in C is the most readable algorithms book I've ever encountered. Not only does the author have a tremendous command of English, he has a writing style that is simply a pleasure to read. The author also deserves mention as having one of the cleanest coding styles I've come across. Having taught and worked with computers for over 15 years, I've seen many. It is no easy feat to present the subject of algorithms using real C code in a consistently elegant manner. This book does it wonderfully. Another feature of the book that works exceptionally well is its detailed presentation of interesting (and I emphasize interesting) real-world examples of how various data structures and algorithms in the book are actually applied. I'm a computer science type, so I especially enjoyed the examples about virtual memory managers, lexical analyzers, and packet-switching over the Internet. But the book includes many other examples of more general interest. Students will find all of the examples particularly insightful. Although most of the code in the book does make use of many of the more advanced features of C, an inordinate number of comments have been included which should help even the feeblest of programmer carry on. In addition, there are two great chapters on pointers and recursion. Exceptional writing, elegant code, great examples, not to mention a lot of entertainment value -- O'Reilly has another winner here. I highly recommend it.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)



 
23 of 25 people found the following review helpful:
5.0 out of 5 stars Fantastic addition to any personal libriuary., March 9, 2000
Just what I needed. One of those books I had to ring in sick to work, sit at home and read.

Writing commercial c applications for the Internet, I was looking for a book to give me assistence with my coding. What I found was something which caused me to go back and rewrite a lot of my work!

Starting by explaining exactly how memory is managed when calling fuctions, going on to explain, in english, how many commonly used stuctures in c work. Everything from hash tables to encryption. A good read for anybody interested in how code works. Essential for anybody wishing to write quality programs.

The best bit. This comes with c libruaries uncompiled with examples, fully explained in the text. Many of which I have used. Reliable, easy to implement and dramatically increase the quality of my code. Want a easy to use binary search tree? A few minutes work and it's there.

I also emaild the author, who was more than happy to help with a question.

Personally speaking, one of the best computer books I have ever bought.

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



 
35 of 40 people found the following review helpful:
4.0 out of 5 stars Helpful book on algorithms using C, March 1, 2001
By Dr. Lee D. Carlson (Baltimore, Maryland USA) - See all my reviews
(TOP 100 REVIEWER)    (REAL NAME)      
C programming is still with us because of its high performance ability and this book outlines several algorithms using the language. It begins with a classification of algorithms as randomized, divide-and-conquer, dynamic programming, greedy and approximation. Some algorithms the author states defy classiification but he does not give examples. Pointers are discussed in the next chapter, and covers how to avoid dangling pointers, memory allocation, pointers to data structures, function parameters, double pointers, and generic and function pointers. The chapter is clearly written and diagrams are used frequently to illustrate the uses and properties of pointers. The author in particular gives an excellent explanation of how C can simulate call-by-reference parameter passing. This capability in C can be a source of trouble to the newcomer to C. The author does not however discuss triple pointers in this chapter, in spite of their great utility in computational geometry and computational radiology. Void pointers and casting are discussed in detail though, and the author does a good job. Only a cursory discussion of function pointers is given; I would have preferred many more examples to be given. Recursion and tail-recursion are discussed in Chapter 3, with the factorial function used to illustrate the differences. Computational complexity and the O-notation are covered in the next chapter, with the treatment pretty sparse but clear. Linked lists, extremely useful in all areas of engineering and science, are discussed effectively in Chapter 5. Eleven linked list macross, thirteen doubly linked list macros, and eight circular list macros are discussed and the complexity of each given. Virtual memory and paging are given as examples of applications of linked lists. The author moves on to stacks in the next chapter with several stack macros outlined. FIFO queues are discussed but in view of their importance in network modeling not enough examples are given. A very interesting overview of how to implement sets as a data type in C is given in Chapter 7. I was not aware that such a construction could be done effectively in C so this chapter was of particular interest to me. All of the usual set operations are implemented using a number of diffrent macros. A clever set covering algorithm is given at the end of the chapter. Hashing and chain hash tables as arrays of linked lists are outlined in the next chapter. Hash functions are used heavily in such areas as cryptography and the author does a fine job of outlining their implementation. After a good discussion of trees, heaps, priority queues, and graphs, the author begins in the third part of the book with the actual implementationof many useful algorithms. The chapter on numerical methods could be more in depth because of its immmense importance and because C has been one of the best performers for the the time intensive calculations in this area. Huffman encoding and other compression algorithms are also treated with some detail. Several macros for bit operations are given and the ones discussed are helpful for the next chapter on encryption algorithms. The DES and RSA algorithms are treated in this chapter, but unfortunately elliptic curve encryption algorithms are not. The book ends with a fairly good overview of graph algorithms and algorithms in computatational geometry. This is really a pretty good book and gives a good overview of some very important algorithms, and all within a little over 500 pages. The only major omission was the lack of exercises/problems at the end of each chapter.
Comment Comment | Permalink | Was this review helpful to you? Yes No (Report this)


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

3.0 out of 5 stars Good book, bad code... it could be better...
Hi:

Well, this book has a lot of very interesting programming issues, like pointers, recursion, linked lists, stacks & queues, trees, etc, etc... Read more
Published 11 months ago by Carlos Ruiz Ortega

4.0 out of 5 stars Considering 'Algorithms with C'
Things I didn't know when I ordered this book was how structured the book was. It's easy to comprehend and doesn't contain too much unnecessary information. Read more
Published 14 months ago by Kim M.

2.0 out of 5 stars Probably OK
The book is probably OK, but there are better, much better ones on the subject. I highly recommend looking at "The Algorithm Design Manual", just search Amazon and you'll find it.
Published on July 15, 2007 by E. Kontsevoy

3.0 out of 5 stars good, concise algorithm book ruined by comment
compare to most algorithm/data structure books out there, this book is not as complete as those, but it's much easier to read, and diagrams in this book is well drawn and much... Read more
Published on December 12, 2004 by X. Guo

3.0 out of 5 stars Good book, but HORRIBLE CODING STYLE!!!
The book contents is good, the algorithms presented are more or less well explained and the implementeations themselves are not bad (but could be better)... Read more
Published on November 8, 2004 by Me

1.0 out of 5 stars Not worth your time or money
To be fair and honest, I have not read this entire book and that is because I've read far better ones. Read more
Published on April 16, 2003 by Roger C. Walkup

4.0 out of 5 stars pretty concise and covers enough ground
Sure, we all have learnt algorithms back in school. We know the fundamentals, we can talk about them, no sweat. Read more
Published on July 26, 2002 by almosthappy

4.0 out of 5 stars Simply a great book
This is truly a wonderful book, consisting recommendations of implementation on most of the basic and common algorithms. Read more
Published on November 4, 2001 by Ori Cohen

2.0 out of 5 stars A small collection of over-commented code
I hoped to find a broad overview of existing algorithms. Instead I got a small collection of over-commented code. Read more
Published on June 5, 2000 by Cris Luengo

5.0 out of 5 stars Stuff I have never seen before!
I have read a half-dozen or more books pertaining to C Algorithms, and most of them were the same. This touched on the usual stuff - sorting, hashing, linked lists, etc. Read more
Published on January 12, 2000 by SciFi Fan

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


Work and Roll with DEWALT

DEWALT Job Site Radio
While supplies last, enjoy special pricing on the DEWALT work site radio. Power it and you'll be rockin' and chargin' your way through a hard day of work.

Shop more chargers and radios

 

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.
 

 

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
Paranoia
Paranoia by Joseph Finder
My Soul to Lose
My Soul to Lose by Rachel Vincent
Glenn Beck's Common Sense
Glenn Beck's Common Sense

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