Data Structures and Problem Solving Using C++

Front Cover
Addison-Wesley, 2000 - Computers - 942 pages
0 Reviews

Data Structures and Problem Solving Using C++ provides a practical introduction to data structures and algorithms from the viewpoint of abstract thinking and problem solving, as well as the use of C++. It is a complete revision of Weissi successful CS2 book Algorithms, Data Structures, and Problem Solving with C++.

The most unique aspect of this text is the clear separation of the interface and implementation. C++ allows the programmer to write the interface and implementation separately, to place them in separate files and compile separately, and to hide the implementation details. This book goes a step further: the interface and implementation are discussed in separate parts of the book. Part I (Objects and C++), Part II (Algorithms and Building Blocks), and Part III (Applications) lay the groundwork by discussing basic concepts and tools and providing some practical examples, but implementation of data structures is not shown until Part IV (Implementations). This separation of interface and implementation promotes abstract thinking. Class interfaces are written and used before the implementation is known, forcing the reader to think about the functionality and potential efficiency of the various data structures (e.g., hash tables are written well before the hash table is implemented).

Throughout the book, Weiss has included the latest features of the C++ programming language, including a more prevalent use of the Standard Template Library (STL).Features

  • Promotes abstract thinking by separating the interface and implementation of the data structures into different parts of the book
  • All code is completely rewritten and tested for compatibility with a wide range of current compilers
  • Revised material makes use of the STL whenever appropriate
  • Rewritten material on inheritance simplifies the initial presentation and provides the C++ details that are important for advanced uses
  • Includes a new chapter on Patterns
  • Provides new material on templates, vectors, and push_back
  • Illustrates both the generic interfaces and STL interfaces of data structures
  • Generic data structures such as linked lists classes, search tree and hash table classes, priority_queue, and disjoint sets class are rewritten to be much simpler and cleaner
  • A simplified STL implementation is illustrated at the end of the chapters in Part IV, including vector, list, stack, queue, set, map, and priority_queue

020161250XB04062001

From inside the book

What people are saying - Write a review

We haven't found any reviews in the usual places.

Contents

Arrays Pointers and Structures
3
Common Errors
34
Objects and Classes
41
Copyright

33 other sections not shown

Common terms and phrases

About the author (2000)

Mark Allen Weiss is a Professor in the School of Computer Science at Florida International University. He received his Ph.D. in Computer Science from Princeton University where he studied under Robert Sedgewick. Dr.Weiss has received FIU's Excellence in Research Award, as well as the Teaching Incentive Program Award, which was established by the Florida Legislature to recognize teaching excellence. Mark Allen Weiss is on the Advanced Placement Computer Science Development Committee. He is the successful author of Algorithms, Data Structures, and Problem Solving with C++ and the series Data Structures and Algorithm Analysis in Pascal, Ada, C, and C++, with Addison-Wesley.



020161250XAB04062001

Bibliographic information