Algorithms in Java, Parts 1-4; Robert Sedgewick; 2002
1 säljare

Algorithms in Java, Parts 1-4 Upplaga 3

av Robert Sedgewick
I. FUNDAMENTALS.

1. Introduction.

Algorithms.

A Sample Problem: Connectivity.

Union-Find Algorithms.

Perspective.

Summary of Topics.

2. Principles of Algorithm Analysis.

Implementation and Empirical Analysis.

Analysis of Algorithms.

Growth of Functions.

Big-Oh notation.

Basic Recurrences.

Examples of Algorithm Analysis.

Guarantees, Predictions, and Limitations.

II. DATA STRUCTURES.

3. Elementary Data Structures.

Building Blocks.

Arrays.

Linked Lists.

Elementary List Processing.

Memory Allocation for Lists.

Strings.

Compound Data Structures.

4. Abstract Data Types.

Collections of Items.

Pushdown Stack ADT.

Examples of Stack ADT Clients.

Stack ADT Implementations.

Generic Implementations.

Creation of a New ADT.

FIFO Queues and Generalized Queues.

Duplicate and Index Items.

First-Class ADTs.

Application-Based ADT Example.

Perspective.

5. Recursion and Trees.

Recursive Algorithms.

Divide and Conquer.

Dynamic Programming.

Trees.

Mathematical Properties of Trees.

Tree Traversal.

Recursive Binary-Tree Algorithms.

Graph Traversal.

Perspective.

III. SORTING.

6. Elementary Sorting Methods.

Rules of the Game.

Generic Sort Implementations.

Selection Sort.

Insertion Sort.

Bubble Sort.

Performance Characteristics of Elementary Sorts.

Algorithm Visualization.

Shellsort.

Sorting Linked Lists.

Key-Indexed Counting.

7. Quicksort 315.

The Basic Algorithm.

Performance Characteristics of Quicksort.

Stack Size.

Small Subfiles.

Median-of-Three Partitioning.

Duplicate Keys.

Strings and Vectors.

Selection.

8. Merging and Mergesort.

Two-Way Merging.

Abstract In-Place Merge.

Top-Down Mergesort.

Improvements to the Basic Algorithm.

Bottom-Up Mergesort.

Performance Characteristics of Mergesort.

Linked-List Implementations of Mergesort.

Recursion Revisited.

9. Priority Queues and Heapsort.

Elementary Implementations.

Heap Data Structure.

Algorithms on Heaps.

Heapsort.

Priority-Queue ADT.

Priority Queues for Index Items.

Binomial Queues.

10. Radix Sorting.

Bits, Bytes, and Words.

Binary Quicksort.

MSD Radix Sort.

Three-Way Radix Quicksort.

LSD Radix Sort.

Performance Characteristics of Radix Sorts.

Sublinear-Time Sorts.

11. Special-Purpose Sorts.

Batcher's Odd-Even Mergesort.

Sorting Networks.

Sorting In Place.

External Sorting.

Sort-Merge Implementations.

Parallel Sort-Merge.

IV. SEARCHING.

12. Symbol Tables and BSTs.

Symbol-Table Abstract Data Type.

Key-Indexed Search.

Sequential Search.

Binary Search.

Index Implementations with Symbol Tables.

Binary Search Trees.

Performance Characteristics of BSTs.

Insertion at the Root in BSTs.

BST Implementations of Other ADT Functions.

13. Balanced Trees.

Randomized BSTs.

Splay BSTs.

Top-Down 2-3-4 Trees.

Red-Black Trees.

Skip Lists.

Performance Characteristics.

14. Hashing.

Hash Functions.

Separate Chaining.

Linear Probing.

Double Hashing.

Dynamic Hash Tables.

Perspective.

15. Radix Search.

Digital Search Trees.

Tries.

Patricia Tries.

Multiway Tries and TSTs.

Text-String-Index Applications.

16. External Searching.

Rules of the Game.

Indexed Sequential Access.

B Trees.

Extendible Hashing.

Perspective.

Appendix.
Index. 0201361205T06262002
I. FUNDAMENTALS.

1. Introduction.

Algorithms.

A Sample Problem: Connectivity.

Union-Find Algorithms.

Perspective.

Summary of Topics.

2. Principles of Algorithm Analysis.

Implementation and Empirical Analysis.

Analysis of Algorithms.

Growth of Functions.

Big-Oh notation.

Basic Recurrences.

Examples of Algorithm Analysis.

Guarantees, Predictions, and Limitations.

II. DATA STRUCTURES.

3. Elementary Data Structures.

Building Blocks.

Arrays.

Linked Lists.

Elementary List Processing.

Memory Allocation for Lists.

Strings.

Compound Data Structures.

4. Abstract Data Types.

Collections of Items.

Pushdown Stack ADT.

Examples of Stack ADT Clients.

Stack ADT Implementations.

Generic Implementations.

Creation of a New ADT.

FIFO Queues and Generalized Queues.

Duplicate and Index Items.

First-Class ADTs.

Application-Based ADT Example.

Perspective.

5. Recursion and Trees.

Recursive Algorithms.

Divide and Conquer.

Dynamic Programming.

Trees.

Mathematical Properties of Trees.

Tree Traversal.

Recursive Binary-Tree Algorithms.

Graph Traversal.

Perspective.

III. SORTING.

6. Elementary Sorting Methods.

Rules of the Game.

Generic Sort Implementations.

Selection Sort.

Insertion Sort.

Bubble Sort.

Performance Characteristics of Elementary Sorts.

Algorithm Visualization.

Shellsort.

Sorting Linked Lists.

Key-Indexed Counting.

7. Quicksort 315.

The Basic Algorithm.

Performance Characteristics of Quicksort.

Stack Size.

Small Subfiles.

Median-of-Three Partitioning.

Duplicate Keys.

Strings and Vectors.

Selection.

8. Merging and Mergesort.

Two-Way Merging.

Abstract In-Place Merge.

Top-Down Mergesort.

Improvements to the Basic Algorithm.

Bottom-Up Mergesort.

Performance Characteristics of Mergesort.

Linked-List Implementations of Mergesort.

Recursion Revisited.

9. Priority Queues and Heapsort.

Elementary Implementations.

Heap Data Structure.

Algorithms on Heaps.

Heapsort.

Priority-Queue ADT.

Priority Queues for Index Items.

Binomial Queues.

10. Radix Sorting.

Bits, Bytes, and Words.

Binary Quicksort.

MSD Radix Sort.

Three-Way Radix Quicksort.

LSD Radix Sort.

Performance Characteristics of Radix Sorts.

Sublinear-Time Sorts.

11. Special-Purpose Sorts.

Batcher's Odd-Even Mergesort.

Sorting Networks.

Sorting In Place.

External Sorting.

Sort-Merge Implementations.

Parallel Sort-Merge.

IV. SEARCHING.

12. Symbol Tables and BSTs.

Symbol-Table Abstract Data Type.

Key-Indexed Search.

Sequential Search.

Binary Search.

Index Implementations with Symbol Tables.

Binary Search Trees.

Performance Characteristics of BSTs.

Insertion at the Root in BSTs.

BST Implementations of Other ADT Functions.

13. Balanced Trees.

Randomized BSTs.

Splay BSTs.

Top-Down 2-3-4 Trees.

Red-Black Trees.

Skip Lists.

Performance Characteristics.

14. Hashing.

Hash Functions.

Separate Chaining.

Linear Probing.

Double Hashing.

Dynamic Hash Tables.

Perspective.

15. Radix Search.

Digital Search Trees.

Tries.

Patricia Tries.

Multiway Tries and TSTs.

Text-String-Index Applications.

16. External Searching.

Rules of the Game.

Indexed Sequential Access.

B Trees.

Extendible Hashing.

Perspective.

Appendix.
Index. 0201361205T06262002
Upplaga: 3e upplagan
Utgiven: 2002
ISBN: 9780201361209
Förlag: Addison-Wesley
Format: Häftad
Språk: Engelska
Sidor: 768 st
I. FUNDAMENTALS.

1. Introduction.

Algorithms.

A Sample Problem: Connectivity.

Union-Find Algorithms.

Perspective.

Summary of Topics.

2. Principles of Algorithm Analysis.

Implementation and Empirical Analysis.

Analysis of Algorithms.

Growth of Functions.

Big-Oh notation.

Basic Recurrences.

Examples of Algorithm Analysis.

Guarantees, Predictions, and Limitations.

II. DATA STRUCTURES.

3. Elementary Data Structures.

Building Blocks.

Arrays.

Linked Lists.

Elementary List Processing.

Memory Allocation for Lists.

Strings.

Compound Data Structures.

4. Abstract Data Types.

Collections of Items.

Pushdown Stack ADT.

Examples of Stack ADT Clients.

Stack ADT Implementations.

Generic Implementations.

Creation of a New ADT.

FIFO Queues and Generalized Queues.

Duplicate and Index Items.

First-Class ADTs.

Application-Based ADT Example.

Perspective.

5. Recursion and Trees.

Recursive Algorithms.

Divide and Conquer.

Dynamic Programming.

Trees.

Mathematical Properties of Trees.

Tree Traversal.

Recursive Binary-Tree Algorithms.

Graph Traversal.

Perspective.

III. SORTING.

6. Elementary Sorting Methods.

Rules of the Game.

Generic Sort Implementations.

Selection Sort.

Insertion Sort.

Bubble Sort.

Performance Characteristics of Elementary Sorts.

Algorithm Visualization.

Shellsort.

Sorting Linked Lists.

Key-Indexed Counting.

7. Quicksort 315.

The Basic Algorithm.

Performance Characteristics of Quicksort.

Stack Size.

Small Subfiles.

Median-of-Three Partitioning.

Duplicate Keys.

Strings and Vectors.

Selection.

8. Merging and Mergesort.

Two-Way Merging.

Abstract In-Place Merge.

Top-Down Mergesort.

Improvements to the Basic Algorithm.

Bottom-Up Mergesort.

Performance Characteristics of Mergesort.

Linked-List Implementations of Mergesort.

Recursion Revisited.

9. Priority Queues and Heapsort.

Elementary Implementations.

Heap Data Structure.

Algorithms on Heaps.

Heapsort.

Priority-Queue ADT.

Priority Queues for Index Items.

Binomial Queues.

10. Radix Sorting.

Bits, Bytes, and Words.

Binary Quicksort.

MSD Radix Sort.

Three-Way Radix Quicksort.

LSD Radix Sort.

Performance Characteristics of Radix Sorts.

Sublinear-Time Sorts.

11. Special-Purpose Sorts.

Batcher's Odd-Even Mergesort.

Sorting Networks.

Sorting In Place.

External Sorting.

Sort-Merge Implementations.

Parallel Sort-Merge.

IV. SEARCHING.

12. Symbol Tables and BSTs.

Symbol-Table Abstract Data Type.

Key-Indexed Search.

Sequential Search.

Binary Search.

Index Implementations with Symbol Tables.

Binary Search Trees.

Performance Characteristics of BSTs.

Insertion at the Root in BSTs.

BST Implementations of Other ADT Functions.

13. Balanced Trees.

Randomized BSTs.

Splay BSTs.

Top-Down 2-3-4 Trees.

Red-Black Trees.

Skip Lists.

Performance Characteristics.

14. Hashing.

Hash Functions.

Separate Chaining.

Linear Probing.

Double Hashing.

Dynamic Hash Tables.

Perspective.

15. Radix Search.

Digital Search Trees.

Tries.

Patricia Tries.

Multiway Tries and TSTs.

Text-String-Index Applications.

16. External Searching.

Rules of the Game.

Indexed Sequential Access.

B Trees.

Extendible Hashing.

Perspective.

Appendix.
Index. 0201361205T06262002
I. FUNDAMENTALS.

1. Introduction.

Algorithms.

A Sample Problem: Connectivity.

Union-Find Algorithms.

Perspective.

Summary of Topics.

2. Principles of Algorithm Analysis.

Implementation and Empirical Analysis.

Analysis of Algorithms.

Growth of Functions.

Big-Oh notation.

Basic Recurrences.

Examples of Algorithm Analysis.

Guarantees, Predictions, and Limitations.

II. DATA STRUCTURES.

3. Elementary Data Structures.

Building Blocks.

Arrays.

Linked Lists.

Elementary List Processing.

Memory Allocation for Lists.

Strings.

Compound Data Structures.

4. Abstract Data Types.

Collections of Items.

Pushdown Stack ADT.

Examples of Stack ADT Clients.

Stack ADT Implementations.

Generic Implementations.

Creation of a New ADT.

FIFO Queues and Generalized Queues.

Duplicate and Index Items.

First-Class ADTs.

Application-Based ADT Example.

Perspective.

5. Recursion and Trees.

Recursive Algorithms.

Divide and Conquer.

Dynamic Programming.

Trees.

Mathematical Properties of Trees.

Tree Traversal.

Recursive Binary-Tree Algorithms.

Graph Traversal.

Perspective.

III. SORTING.

6. Elementary Sorting Methods.

Rules of the Game.

Generic Sort Implementations.

Selection Sort.

Insertion Sort.

Bubble Sort.

Performance Characteristics of Elementary Sorts.

Algorithm Visualization.

Shellsort.

Sorting Linked Lists.

Key-Indexed Counting.

7. Quicksort 315.

The Basic Algorithm.

Performance Characteristics of Quicksort.

Stack Size.

Small Subfiles.

Median-of-Three Partitioning.

Duplicate Keys.

Strings and Vectors.

Selection.

8. Merging and Mergesort.

Two-Way Merging.

Abstract In-Place Merge.

Top-Down Mergesort.

Improvements to the Basic Algorithm.

Bottom-Up Mergesort.

Performance Characteristics of Mergesort.

Linked-List Implementations of Mergesort.

Recursion Revisited.

9. Priority Queues and Heapsort.

Elementary Implementations.

Heap Data Structure.

Algorithms on Heaps.

Heapsort.

Priority-Queue ADT.

Priority Queues for Index Items.

Binomial Queues.

10. Radix Sorting.

Bits, Bytes, and Words.

Binary Quicksort.

MSD Radix Sort.

Three-Way Radix Quicksort.

LSD Radix Sort.

Performance Characteristics of Radix Sorts.

Sublinear-Time Sorts.

11. Special-Purpose Sorts.

Batcher's Odd-Even Mergesort.

Sorting Networks.

Sorting In Place.

External Sorting.

Sort-Merge Implementations.

Parallel Sort-Merge.

IV. SEARCHING.

12. Symbol Tables and BSTs.

Symbol-Table Abstract Data Type.

Key-Indexed Search.

Sequential Search.

Binary Search.

Index Implementations with Symbol Tables.

Binary Search Trees.

Performance Characteristics of BSTs.

Insertion at the Root in BSTs.

BST Implementations of Other ADT Functions.

13. Balanced Trees.

Randomized BSTs.

Splay BSTs.

Top-Down 2-3-4 Trees.

Red-Black Trees.

Skip Lists.

Performance Characteristics.

14. Hashing.

Hash Functions.

Separate Chaining.

Linear Probing.

Double Hashing.

Dynamic Hash Tables.

Perspective.

15. Radix Search.

Digital Search Trees.

Tries.

Patricia Tries.

Multiway Tries and TSTs.

Text-String-Index Applications.

16. External Searching.

Rules of the Game.

Indexed Sequential Access.

B Trees.

Extendible Hashing.

Perspective.

Appendix.
Index. 0201361205T06262002
Begagnad bok
595 kr
Fri frakt & skickas inom 1-3 vardagar
Köpskydd med Studentapan
Varje köp täcks av Studentapans köpskydd som säkerställer att boken kommer fram, att du får rätt bok och att skicket stämmer överens med beskrivning.
595 kr
Fri frakt & skickas inom 1-3 vardagar