|
| Login | Sign up | My Wish List |
![]() | Data Structures, Algorithms, and Applications in C++ with Microsoft Compiler by Sartaj Sahni ISBN-10: 9780072362268 ISBN-10: 0-07-236226-X ISBN-13: 9780072362268 ISBN-13: 978-0-07-236226-8 Hardcover 1999-07-29 Mcgraw-Hill College Find Lowest Price | |
Editorials | ||
Book Description This text provides students with an introduction to data structures and algorithms. It emphasizes algorithm analysis and the development of efficient code, and includes important background material. Divided into three parts, the text features Data Structure Application sections at the end of each chapter in part two, Algorithm Application sections in each design method chapter in part three, and a gradual development of C++ features not found in C to help students with either a background in C or C++ to comprehend topics in the book. | ||
Reviews | ||
wow, what a horrible book! I'm actually amazed by the absolute mediocrity of this book. After having read a few books on *good* style (try Stroustroup, Effective C++ by Meyers), the code in here is crap by comparison. In addition (at least in the 1998 edition), there are all sorts of programming blunders - case in point: on pg 140/program3.20 there is a function to search for data in a circular list which ends up putting the data in the head-node for the list and leaves it there. Thankfully this garbage piece of code won't compile due to typos! Did anyone bother proof-reading this book? How did the author get a PhD? Only buy this book if you already know C++ and want a good laugh. | ||
Comprehensive texts for Advanced undergraduates The book Sahni wrote with Horowitz was, and remains, a classic for anyone who wants to grapple with DS. Even the original text was never intended for starters and this book more or less carries on the same tradition (although a little more verbosely). The beauty of the original Horowitz and Sahni text was not the (terse) text, but the amazing exercises. The new one by Sahni also has some very challenging exercises suitable for advanced undergraduates. Students NEW to the subject are better of with simpler texts(I read the one by Kruse in my day, but there are PLENTY of new ones around) but students with more than one year of programming experince will find this book more challenging and satisfying. As for graduate students - Knuth awaits you with open arms. :-) | ||
Don't buy this book!! I'm a CS student from India, and I'd like to warn you not to buy this book. This is a 'recommended' book in our syllabus, but till now I can't understand why. The programs do their best to confuse you, and still can't get the picture after hours of stepping through the code. I don't know how Mr.Sahni intended students to understand this utterly foxing book. Stay away from this. | ||
useless I found this book useless. I never used it during my (second quarter) data structures class (in which I received an A+). The first half of the book is decent as a reference but the chapters on greedy methods, divide and conquere, dynamic programming, and backtracking/branch and bound do not supply the user with proper examples to follow what the author is talking about. It is often hard to tell to which example he is refering and he tends to only give final results to a problem rather than step-by-step solutions. Often the author's code is bad (full of memory leaks) and some of his methods to speed up the code are wrong. Many data structures professors at universities have great on-line notes, and I found these infinitely more useful. | ||
I never used it in my course This book was a huge waste of money for me. I found that everything in the course could be found on the internet just by typing in the topic. The explanations in the book are very poor and the code is abominable (Sahni has obviously NOT worked in industry for a LONG time). Buy the Korrano (or however you spell it) book if you can, maybe just look in your old "Learning C++" (etc.) textbook-it may have more Data Structures than you think. | ||