![Data Structures and Algorithm Analysis in C](http://servimg.eyrolles.com/static/media/8400/9780201498400_internet_w290.jpg)
Data Structures and Algorithm Analysis in C
Second Edition
Résumé
- Includes a chapter on algorithm and design techniques that covers greedy algorithms, divide and conquer algorithms, dynamic programming, randomized algorithms, and backtracking
- Presents current topics and newer data structures such as Fibonacci heaps, skew heaps, binomial queues, skip lists, and splay trees
- Contains a chapter on amortized analysis that examines the advanced data structures presented earlier in the book
- Provides a new chapter on advanced data structures and their implementation covering red black trees, top down splay trees, treaps, k-d trees, pairing heaps, and more
- Incorporates new results on the average case analysis of heapsort
- Offers source code from example programs via anonymous FTP
TABLE OF CONTENTS
1.INTRODUCTION
- What's the Book About?
- Mathematics Review
- Exponents
- Logarithms
- Series
- Modular Arithmetic
- The P word
- A Brief Introduction to Recursion
Summary
Exercises
References
2. ALGORITHM ANALYSIS
- Mathematical Background
- Model
- What to Analyze
- Running Time Calculations
- A Simple Example
- General Rules
- Solutions for the Maximum Subsequence Sum Problem
- Logarithms in the Running Time
- Checking Your Analysis
- A Grain of Salt
Exercises
References
3. LISTS, STACKS, AND QUEUES
- Abstract Data Types (ADTs)
- The List ADT
- Simple Array Implementation of Lists
- Linked Lists
- Programming Details
- Common Errors
- Doubly Linked Lists
- Circularly Linked Lists
- Examples
- Cursor Implementation of Linked Lists
- The Stack ADT
- Stack Model
- Implementation of Stacks
- Applications
- The Queue ADT
- Queue Model
- Array Implementation of Queues
- Applications of Queues
Exercises
4. TREES
- Preliminaries
- Implementation of Trees
- Tree Traversals with an Application
- Binary Trees
- Implementation
- Expression Trees
- The Search Tree ADT--Binary Search Trees
- MakeEmpty
- Find
- FindMin and FindMax
- Insert
- Delete
- Average-Case Analysis
- AVL Trees
- Single Rotation
- Double Rotation
- Splay Trees
- A Simple Idea (That Does Not Work)
- Splaying
- Tree Traversals (Revisited)
- B-Trees
Summary
Exercises
References
5. HASHING
- General Idea
- Hash Function
- Separate Chaining
- Open Addressing
- Linear Probing
- Quadratic Probing
- Double Hashing
- Rehashing
- Extendible Hashing
Summary
Exercises
References
6. PRIORITY QUEUES (HEAPS)
- Model
- Simple Implementations
- Binary Heaps
- Structure Property
- Heap Order Property
- Basic Heap Operations
- Other Heap Operations
- Applications of Priority Queues
- The Selection Problem
- Event Simulation
- d-Heaps
- Leftist Heaps
- Leftist Heap Property
- Leftist Heap Operations
- Skew Heaps
- Binomial Queues
- Binomial Queue Structure
- Binomial Queue Operations
- Implementations of Binomial Queues
Exercises
References
7. SORTING
- Preliminaries
- Insertion Sort
- The Algorithm
- Analysis of Insertion Sort
- A Lower Bound for Simple Sorting Algorithms
- Shellsort
- Analysis of Insertion Sort
- Heapsort
- Analysis of Heapsort
- Mergesort
- Analysis of Mergesort
- Quicksort
- Picking the Pivot
- Partitioning Strategy
- Small Arrays
- Actual Quicksort Routines
- Analysis of Quicksort
- A Linear-Expected-Time Algorithm for Selection
- Sorting Large Structures
- A General Lower Bound for Sorting
- Decision Trees
- Bucket Sort
- External Sorting
- Why We Need New Algorithms
- Model for External Sorting
- The Simple Algorithm
- Multiway Merge
- Polyphase Merge
- Replacement Selection
Exercises
References
8. THE DISJOINT SET ADT
- Equivalence Relations
- The Dynamic Equivalence Problem
- Basic Data Structure
- Smart Union Algorithms
- Path Compression
- Worst Case for Union-by-Rank and Path Compression
- Analysis of the Union/Find Algorithm
- An Application
Summary
Exercises
References
9. GRAPH ALGORITHMS
- Definitions
- Representation of Graphs
- Topological Sort
- Shortest-Path Algorithms
- Unweighted Shortest Paths
- Dijkstra's Algorithm
- Graphs with Negative Edge Costs
- Acyclic Graphs
- All-Pairs Shortest Path
- Network Flow Problems
- A Simple Maximum-Flow Algorithm
- Minimum Spanning Tree
- Prim's Algorithm
- Kruskal's Algorithm
- Applications of Depth-First Search
- Undirected Graphs
- Biconnectivity
- Euler Circuits
- Directed Graphs
- Finding Strong Components
- Introduction to the NP-Completeness
- Easy vs. Hard
- The Class NP
- NP-Complete Problems
Exercises
References
10. ALGORITHM DESIGN TECHNIQUES
- Greedy Algorithms
- A Simple Scheduling Problem
- Huffman Codes
- Approximate Bin Packing
- Divide and Conquer
- Running Time of Divide and Conquer Algorithms
- Closest-Points Problem
- The Selection Problem
- Theoretical Improvements for Arithmetic Problems
- Dynamic Programming
- Using a Table Instead of Recursion
- Ordering Matrix Multiplications
- Optimal Binary Search Tree
- All-Pairs Shortest Path
- Randomized Algorithms
- Random Number Generators
- Skip Lists
- Primality Testing
- Backtracking Algorithms
- The Turnpike Reconstruction Problem
- Games
Exercises
References
11. AMORTIZED ANALYSIS
- An Unrelated Puzzle
- Binomial Queues
- Skew Heaps
- Fibonacci Heaps
- Cutting Nodes in Leftist Heaps
- Lazy Merging for Binomial Queues
- The Fibonacci Heap Operations
- Proof of the Time Bound
- Splay Trees
Summary
Exercises
References
12. ADVANCED DATA STRUCTURES AND IMPLEMENTATION
- Top-Down Splay Trees
- Red Black Trees
- Bottom-Up Insertion
- Top-Down Red Black Trees
- Top-Down Deletion
- Deterministic Skip Lists
- AA-Trees
- Treaps
- k-d Trees
- Pairing Heaps
Summary
Exercises
References
INDEX
L'auteur - Mark Allen Weiss
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.
Caractéristiques techniques
PAPIER | |
Éditeur(s) | Addison Wesley |
Auteur(s) | Mark Allen Weiss |
Parution | 15/10/1996 |
Nb. de pages | 510 |
Format | 19,5 x 24 |
Couverture | Relié |
Poids | 1100g |
EAN13 | 9780201498400 |
Avantages Eyrolles.com
Consultez aussi
- Les meilleures ventes en Graphisme & Photo
- Les meilleures ventes en Informatique
- Les meilleures ventes en Construction
- Les meilleures ventes en Entreprise & Droit
- Les meilleures ventes en Sciences
- Les meilleures ventes en Littérature
- Les meilleures ventes en Arts & Loisirs
- Les meilleures ventes en Vie pratique
- Les meilleures ventes en Voyage et Tourisme
- Les meilleures ventes en BD et Jeunesse