Mastering Algorithms with C and over 1.5 million other books are available for Amazon Kindle . Learn more


or
Sign in to turn on 1-Click ordering.
Trade in Yours
For a £1.95 Gift Card
Trade in
More Buying Choices
Have one to sell? Sell yours here
Sorry, this item is not available in
Image not available for
Colour:
Image not available

 
Start reading Mastering Algorithms with C on your Kindle in under a minute.

Don't have a Kindle? Get your Kindle here, or download a FREE Kindle Reading App.

Mastering Algorithms with C [Paperback]

Kyle Loudon
3.5 out of 5 stars  See all reviews (4 customer reviews)
RRP: £30.99
Price: £19.83 & this item Delivered FREE in the UK with Super Saver Delivery. See details and conditions
You Save: £11.16 (36%)
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
Only 2 left in stock (more on the way).
Dispatched from and sold by Amazon. Gift-wrap available.
Want delivery by Friday, 24 May? Choose Express delivery at checkout. See Details

Formats

Amazon Price New from Used from
Kindle Edition £17.85  
Paperback £19.83  
Trade In this Item for up to £1.95
Trade in Mastering Algorithms with C for an Amazon.co.uk gift card of up to £1.95, which you can then spend on millions of items across the site. Trade-in values may vary (terms apply). Learn more

Book Description

12 Aug 1999 1565924533 978-1565924536 1

There are many books on data structures and algorithms, including some with useful libraries of C functions. Mastering Algorithms with C offers you a unique combination of theoretical background and working code. With robust solutions for everyday programming tasks, this book avoids the abstract style of most classic data structures and algorithms texts, but still provides all of the information you need to understand the purpose and use of common programming techniques.

Implementations, as well as interesting, real-world examples of each data structure and algorithm, are included.

Using both a programming style and a writing style that are exceptionally clean, Kyle Loudon shows you how to use such essential data structures as lists, stacks, queues, sets, trees, heaps, priority queues, and graphs. He explains how to use algorithms for sorting, searching, numerical analysis, data compression, data encryption, common graph problems, and computational geometry. And he describes the relative efficiency of all implementations. The compression and encryption chapters not only give you working code for reasonably efficient solutions, they offer explanations of concepts in an approachable manner for people who never have had the time or expertise to study them in depth.

Anyone with a basic understanding of the C language can use this book. In order to provide maintainable and extendible code, an extra level of abstraction (such as pointers to functions) is used in examples where appropriate. Understanding that these techniques may be unfamiliar to some programmers, Loudon explains them clearly in the introductory chapters.

Contents include:

  • Pointers
  • Recursion
  • Analysis of algorithms
  • Data structures (lists, stacks, queues, sets, hash tables, trees, heaps, priority queues, graphs)
  • Sorting and searching
  • Numerical methods
  • Data compression
  • Data encryption
  • Graph algorithms
  • Geometric algorithms

Frequently Bought Together

Mastering Algorithms with C + The  C Programming Language (2nd Edition) + C Pocket Reference
Price For All Three: £55.54

Buy the selected items together


Product details

  • Paperback: 562 pages
  • Publisher: O'Reilly Media; 1 edition (12 Aug 1999)
  • Language: French
  • ISBN-10: 1565924533
  • ISBN-13: 978-1565924536
  • Product Dimensions: 17.8 x 2.8 x 23.3 cm
  • Average Customer Review: 3.5 out of 5 stars  See all reviews (4 customer reviews)
  • Amazon Bestsellers Rank: 207,964 in Books (See Top 100 in Books)
  • See Complete Table of Contents

More About the Author

Discover books, learn about writers, and more.

Product Description

Amazon 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 such as 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 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, convex hulls.

Review

'This is an O'Reilly book, surely one of the best publishers of technical books areound. I love 'em, from the animal cover to the Colophon, and it is rare indeed that I come across an O'Reilly book that I regret buying....So, all in all, an enjoyable book and one I will move onto my Important Algorithm Book shelf, rather than on the floor in a pile with the also-rans. Recommended.' - Julian M Bucknall Developers Review, August 2000

Inside This Book (Learn More)
Browse Sample Pages
Front Cover | Copyright | Table of Contents | Excerpt | Index | Back Cover
Search inside this book:

What Other Items Do Customers Buy After Viewing This Item?


Customer Reviews

3.5 out of 5 stars
3.5 out of 5 stars
Most Helpful Customer Reviews
6 of 6 people found the following review helpful
4.0 out of 5 stars Covers the basic algorithms very well 22 Dec 2003
Format:Paperback
This book offers a solid introduction to algorithms in the C programming language. All the key topics are covered, and the example code is well written. My only criticism would be the block commenting style the author uses, but the proportional font used makes them less distracting than they might have been. If this book whets the appetite, then Sedgewicks "Algorithms in C" offers a more in depth follow up.

I must comment on one of the other reader reviews, which has been cribbed from a similar review on the website of O'Reilly, this books publishers. Anyone who doesn't know the fundamental problems with numeric accuracy on computers should not be at a stage where they need to know algorithms in C. Any good computing course should cover the fundamentals of how numbers are stored, stressing the lack of precision and the possibility of overflow, before any in depth programming is taught.

Comment | 
Was this review helpful to you?
1 of 1 people found the following review helpful
4.0 out of 5 stars A very O'Reilly book. 6 Oct 2012
By notjim
Format:Paperback|Amazon Verified Purchase
"[O'Reilly] where the first publisher I contacted, and the one I most wanted to work with because of their tradition of books covering 'just the facts'" - from the Preface.

This book covers just the facts, in 500 pages it gives a grand tour of algorithms and data structures and that 500 pages includes extensive pieces of code, it manages this by sticking to short, pithy descriptions and being unafraid to stop the description when the algorithm is described. This seems almost a mania, for example, we are told that algorithms that divide the data in two again and again incur a cost of log n, but the three or four lines it would take to prove this are skipped, we are told a couple of times that a factor of n(n+1)/2 is the result of the "well known formula" for adding the numbers 1 to n, it would've seemed easy to give the formula. The result though is a very useful and precise book you could go to in a hurry and remind yourself how radix sort works, or formalize your hazy knowledge of data structures.

For very slow and careful study the code listing would be invaluable but it seems a waste not to have include more commentary on the code, commentary as opposed to comments, the code itself is commented like real code in a way that is wasteful of space without being pleasant to read. The author writes so well but the code is left most to stand for itself, to understand it you have to read it line by line and work it out. In this way, the book aims itself at a painstaking study or as a source of quick reference, but is unsuitable for a middle course of directed reading, where code commentary is essential.

A rose is a rose is rose: the author wanted to write an O'Reilly book, this is what it is and if that's what you want, this book is for you.
Comment | 
Was this review helpful to you?
6 of 8 people found the following review helpful
5.0 out of 5 stars A fantastic introduction to some advanced C. 28 Mar 2001
By A Customer
Format:Paperback
This book is fantastic. It covers a wide range of topics including sorting, data compression, trees and encryption. It also covers complexity notation and the basic maths behind various aspects.

I would recommend it to anyone.

Comment | 
Was this review helpful to you?
Would you like to see more reviews about this item?
Were these reviews helpful?   Let us know
Most Recent Customer Reviews
Search Customer Reviews
Only search this product's reviews

Customer Discussions

This product's forum
Discussion Replies Latest Post
No discussions yet

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

Search Customer Discussions
Search all Amazon discussions
   


Listmania!


Look for similar items by category


Feedback


Amazon.co.uk Privacy Statement Amazon.co.uk Delivery Information Amazon.co.uk Returns & Exchanges