Home Page -------------------
[Home Page] - [Reviews Main]
-------------------

Book Review
Data Structures and Algorithm Analysis in C by Mark Allen Weiss
Recommended
ISBN: 0 201 49840 5       Publisher: Addison-Wesley       Pages: 510pp       Price: £24-95
Categories:   data structures     algorithms    
Reviewed by Graham Kendall in C Vu 9-5 (Jul 1997)
Having just completed a Computer Science degree, I have spent what felt like half of my life looking at books like this one. I used to get frustrated by two things. They often used Pascal, when I would have preferred C (or C++) and they were often too mathematical.

There is obviously a mathematical element to this book but it is kept to a minimum and much of the book is spent discussing the algorithms themselves; which I think most people would prefer. As the examples are in C this book will attract a much wider audience than Pascal equivalents.

As you would expect, the book starts with the 'standard' data structures (stacks, lists, queues and trees). Other structures such as heaps, graphs and sets are considered later.

As well as discussing data structures various algorithms are examined. You would expect sorting to be covered and all the classic sorts are here (e.g. mergesort, shellsort, and quicksort). Some algorithms you may not expect to be covered are given space. For example, randomised algorithms, greedy algorithms and backtracking algorithms. The book also covers NP- completeness.

Sample code is given throughout (available via an FTP site) and the book will allow you to implement the algorithms that are discussed as well as being able to reason about their time complexity (i.e. how long do they take to run).

If you are looking for a book covering algorithms and their analysis then this is as good as any I've seen (and I've seen a lot) and it does cover a lot of ground.


Other Authors with the same surname

Weiss
Data Structure and Algorithm Analysis in C++ by M Weiss  (Reviewed Sep 1994)
Data Structures and Algorithm Analysis (2nd ed) by M Weiss [Recommended]  (Reviewed May 1995)
Data Structures and Problem Solving Using Java by Mark Weiss [Recommended]  (Reviewed Nov 1998)
Data Structures, an Advanced Approach Using C by Jeffrey Esakov & Tom Weiss  (Reviewed Nov 1991)
Efficient C Programming - A Practical Approach by Mark Allen Weiss [Recommended]  (Reviewed Jan 1996)


Last Update - 13 May 2001.

To link to this review, please use the URL: http://www.accu.org/bookreviews/public/reviews/d/d000435.htm

Copyright © The Association of C & C++ Users 1998-2000. All rights reserved.

Mirrored from http://www.accu.org/