Data Structures and Algorithms in C++, 2nd Edition
February 2011, ©2011
This is a “sister” book to Goodrich & Tamassia’s Data Structures and Algorithms in Java, but uses C++ as the basis language instead of Java. This C++ version retains the same pedagogical approach and general structure as the Java version so schools that teach data structures in both C++ and Java can share the same core syllabus.
In terms of curricula based on the IEEE/ACM 2001 Computing Curriculum, this book is appropriate for use in the courses CS102 (I/O/B versions), CS103 (I/O/B versions), CS111 (A version), and CS112 (A/I/O/F/H versions).
1.1 Basic C++ Programming Elements.
1.3 Control Flow.
1.6 C++ Program and File Organization.
1.7 Writing a C++ Program.
2. Object-Oriented Design.
2.1 Goals, Principles, and Patterns.
2.2 Inheritance and Polymorphism.
3. Arrays, Linked Lists, and Recursion.
3.1 Using Arrays.
3.2 Singly Linked Lists.
3.3 Doubly Linked Lists.
3.4 Circularly Linked and List Reversal.
4. Analysis Tools.
4.1 The Seven Functions Used in This Book.
4.2 Analysis of Algorithms.
4.3 Simple Justification Techniques.
5. Stacks, Queues, and Deques.
5.3 Double-Ended Queues.
6. List and Iterator ADTs.
6.4 Case Study: Bubble-Sort on a Sequence.
7.1 General Trees.
7.2 Tree Traversal Algorithms.
7.3 Binary Trees.
8. Heaps and Priority Queues.
8.1 The Priority Queue Abstract Data Type.
8.2 Implementing a Priority Queue with a List.
8.4 Adaptable Priority Queues.
9. Hash Tables, Maps, and Skip Lists.
9.2 Hash Tables.
9.3 Ordered Maps.
9.4 Skip Lists.
10. Search Trees.
10.1 Binary Search Trees.
10.2 AVL Trees.
10.3 Splay Trees.
10.4 (2,4) Trees.
10.5 Red-Black Trees.
11. Sorting, Sets, and Selection.
11.3 Studying Sorting through and Algorithmic Lens.
11.4 Sets and Union/Find Structures.
12. Strings and Dynamic Programming.
12.1 String Operations.
12.2 Dynamic Programming.
12.3 Pattern Matching Algorithms.
12.4 Text Compression and the Greedy Method.
13. Graph Algorithms.
13.2 Data Structures for Graphs.
13.3 Graph Traversals.
13.4 Directed Graphs.
13.5 Shortest Paths.
13.6 Minimum Spanning Trees.
14. Memory Management and B-Trees.
14.1 Memory Management.
14.2 External Memory and Caching.
14.3 External Searching and B-Trees.
14.4 External-Memory Sorting.
A Useful Mathematical Facts.
- Enhanced consistency with the C++ Standard Template Library (STL), and expanded usage of STL data structures as a basis for designing more complex data structures.
- Improved consistency with modern C++ coding standards in presenting code fragments.
- Simplification of many of the code fragments, focusing on the principal structure and functionality of the data structures.
- More examples and discussion of data structure and algorithm analysis.
- Enhanced the discussion of algorithmic design techniques, like dynamic programming and the greedy method.
- Consistent object-oriented viewpoint throughout the book.
- Detailed explanation and visualization of sorting algorithms.
- Coverage of graph algorithms and pattern-matching algorithms for more advanced CS2 courses.
- Visual justifications (that is, picture proofs), which make mathematical arguments more understandable for students, appealing to visual learners.
- Motivation of algorithmic concepts with Internet-related applications, such as Web browsers and search engines.
- Accompanying web site with a special password-protected area for instructors.
I found the book very useful and helpful in teaching my course "Data Structure and Program Design". I shall recommend this book to my students. So, may be in the future this book will be the main reference to our students in BUC.
Mrs Lina Ali, Al Buraimi University College
- Wiley E-Texts are powered by VitalSource and accessed via the VitalSource Bookshelf reader, available online and via a downloadable app.
- Wiley E-Texts are accessible online and offline, and can be read on a variety of devices, including smartphones and tablets.
- Wiley E-Texts are non-returnable and non-refundable.
- Wiley E-Texts are protected by DRM. For specific DRM policies, please refer to our FAQ.
- WileyPLUS registration codes are NOT included with any Wiley E-Text. For informationon WileyPLUS, click here .
- To learn more about Wiley E-Texts, please refer to our FAQ.
- E-books are offered as e-Pubs or PDFs. To download and read them, users must install Adobe Digital Editions (ADE) on their PC.
- E-books have DRM protection on them, which means only the person who purchases and downloads the e-book can access it.
- E-books are non-returnable and non-refundable.
- To learn more about our e-books, please refer to our FAQ.