Stephens, R: Essential Algorithms
(Sprache: Englisch)
A friendly and accessible introduction to the most useful algorithmsComputer algorithms are the basic recipes for programming. Professional programmers need to know how to use algorithms to solve difficult programming problems. Written in simple, intuitive...
Leider schon ausverkauft
versandkostenfrei
Buch
Fr. 84.90
inkl. MwSt.
- Kreditkarte, Paypal, Rechnungskauf
- 30 Tage Widerrufsrecht
Produktdetails
Produktinformationen zu „Stephens, R: Essential Algorithms “
Klappentext zu „Stephens, R: Essential Algorithms “
A friendly and accessible introduction to the most useful algorithmsComputer algorithms are the basic recipes for programming. Professional programmers need to know how to use algorithms to solve difficult programming problems. Written in simple, intuitive English, this book describes how and when to use the most practical classic algorithms, and even how to create new algorithms to meet future needs. The book also includes a collection of questions that can help readers prepare for a programming job interview.* Reveals methods for manipulating common data structures such as arrays, linked lists, trees, and networks* Addresses advanced data structures such as heaps, 2-3 trees, B-trees* Addresses general problem-solving techniques such as branch and bound, divide and conquer, recursion, backtracking, heuristics, and more* Reviews sorting and searching, network algorithms, and numerical algorithms* Includes general problem-solving techniques such as brute force and exhaustive search, divide and conquer, backtracking, recursion, branch and bound, and moreIn addition, Essential Algorithms features a companion website that includes full instructor materials to support training or higher ed adoptions.
Inhaltsverzeichnis zu „Stephens, R: Essential Algorithms “
Introduction xvChapter 1 Algorithm Basics 1Approach 2Algorithms and Data Structures 3Pseudocode 3Algorithm Features 6Big O Notation 7Common Runtime Functions 11Visualizing Functions 17Practical Considerations 17Summary 19Exercises 20Chapter 2 Numerical Algorithms 25Randomizing Data 25Generating Random Values 25Randomizing Arrays 31Generating Nonuniform Distributions 33Finding Greatest Common Divisors 33Performing Exponentiation 35Working with Prime Numbers 36Finding Prime Factors 37Finding Primes 39Testing for Primality 40Performing Numerical Integration 42The Rectangle Rule 42The Trapezoid Rule 43Adaptive Quadrature 44Monte Carlo Integration 48Finding Zeros 49Summary 51Exercises 52Chapter 3 Linked Lists 55Basic Concepts 55Singly Linked Lists 56Iterating Over the List 57Finding Cells 57Using Sentinels 58Adding Cells at the Beginning 59Adding Cells at the End 60Inserting Cells After Other Cells 61Deleting Cells 62Doubly Linked Lists 63Sorted Linked Lists 65Linked-List Algorithms 66Copying Lists 67Sorting with Insertionsort 68Linked List Selectionsort 69Multithreaded Linked Lists 70Linked Lists with Loops 71Marking Cells 72Using Hash Tables 74List Retracing 75List Reversal 76Tortoise and Hare 78Loops in Doubly Linked Lists 80Summary 81Exercises 81Chapter 4 Arrays 83Basic Concepts 83One-dimensional Arrays 86Finding Items 86Finding Minimum, Maximum, and Average 86Inserting Items 88Removing Items 89Nonzero Lower Bounds 89Two Dimensions 90Higher Dimensions 91Triangular Arrays 94Sparse Arrays 97Find a Row or Column 100Get a Value 101Set a Value 101Delete a Value 104Matrices 105Summary 108Exercises 108Chapter 5 Stacks and Queues 111Stacks 111Linked-List Stacks 112Array Stacks 113Double Stacks 115Stack Algorithms 117Queues 123Linked-List Queues 123Array Queues 124Specialized Queues 127Summary 128Exercises 128Chapter 6 Sorting 131O(N2) Algorithms 132Insertionsort in Arrays 132Selectionsort in Arrays 134Bubblesort 135O(N log N) Algorithms 138Heapsort 139Quicksort 145Mergesort
... mehr
153Sub O(N log N) Algorithms 156Countingsort 156Bucketsort 157Summary 159Exercises 160Chapter 7 Searching 163Linear Search 164Binary Search 165Interpolation Search 166Summary 167Exercises 168Chapter 8 Hash Tables 169Hash Table Fundamentals 170Chaining 171Open Addressing 172Removing Items 174Liner Probing 174Quadratic Probing 176Pseudorandom Probing 178Double Hashing 178Ordered Hashing 179Summary 181Exercises 182Chapter 9 Recursion 185Basic Algorithms 186Factorial 186Fibonacci Numbers 188Tower of Hanoi 189Graphical Algorithms 193Koch Curves 193Hilbert Curve 196Sierpin¿ ski Curve 197Gaskets 200Backtracking Algorithms 201Eight Queens Problem 203Knight's Tour 206Selections and Permutations 209Selections with Loops 210Selections with Duplicates 211Selections Without Duplicates 213Permutations with Duplicates 214Permutations Without Duplicates 215Recursion Removal 216Tail Recursion Removal 216Storing Intermediate Values 218General Recursion Removal 220Summary 222Exercises 223Chapter 10 Trees 227Tree Terminology 227Binary Tree Properties 231Tree Representations 234Building Trees in General 234Building Complete Trees 236Tree Traversal 237Preorder Traversal 238Inorder Traversal 240Postorder Traversal 242Depth-first Traversal 243Traversal Run Times 244Sorted Trees 245Adding Nodes 245Finding Nodes 247Deleting Nodes 248Threaded Trees 250Building Threaded Trees 251Using Threaded Trees 254Specialized Tree Algorithms 256The Animal Game 256Expression Evaluation 258Quadtrees 260Tries 266Summary 270Exercises 271Chapter 11 Balanced Trees 277AVL Trees 278Adding Values 278Deleting Values 2812-3 Trees 282Adding Values 283Deleting Values 284B-Trees 287Adding Values 288Deleting Values 289Balanced Tree Variations 291Top-down B-trees 291B+trees 291Summary 293Exercises 293Chapter 12 Decision Trees 297Searching Game Trees 298Minimax 298Initial Moves and Responses 302Game Tree Heuristics 303Searching General Decision Trees 305Optimization Problems 306Exhaustive Search 307Branch and Bound 309Decision Tree Heuristics 310Other Decision Tree Problems 316Summary 322Exercises 322Chapter 13 Basic Network Algorithms 325Network Terminology 325Network Representations 328Traversals 331Depth-first Traversal 331Breadth-first Traversal 334Connectivity Testing 335Spanning Trees 337Minimal Spanning Trees 338Finding Paths 339Finding Any Path 339Label-Setting Shortest Paths 340Label-Correcting Shortest Paths 344All-Pairs Shortest Paths 345Summary 350Exercises 351Chapter 14 More Network Algorithms 355Topological Sorting 355Cycle Detection 359Map Coloring 359Two-coloring 360Three-coloring 362Four-coloring 362Five-coloring 363Other Map-coloring Algorithms 367Maximal Flow 368Work Assignment 370Minimal Flow Cut 372Summary 374Exercises 375Chapter 15 String Algorithms 377Matching Parentheses 378Evaluating Arithmetic Expressions 379Building Parse Trees 380Pattern Matching 381DFAs 381Building DFAs for Regular Expressions 383NFAs 386String Searching 387Calculating Edit Distance 391Summary 394Exercises 394Chapter 16 Cryptography 397Terminology 398Transposition Ciphers 399Row/column Transposition 399Column Transposition 401Route Ciphers 403Substitution Ciphers 404Caesar Substitution 404Vigenère Cipher 405Simple Substitution 407One-Time Pads 408Block Ciphers 408Substitution-Permutation Networks 409Feistel Ciphers 410Public-Key Encryption and RSA 412Euler's Totient Function 413Multiplicative Inverses 413An RSA Example 414Practical Considerations 414Other Uses for Cryptography 415Summary 416Exercises 417Chapter 17 Complexity Theory 419Notation 420Complexity Classes 421Reductions 4243SAT 425Bipartite Matching 426NP-Hardness 426Detection, Reporting, and Optimization Problems 427Detection
... weniger
Autoren-Porträt von Rod Stephens
Rod Stephens began his career as a mathematician, but while at MIT he was lured into the intriguing world of algorithms and has been programming ever since. An award-winning instructor, he regularly addresses conferences and has written 26 books that have been translated into nearly a dozen languages.
Bibliographische Angaben
- Autor: Rod Stephens
- 624 Seiten, Masse: 18,9 x 23,6 cm, Kartoniert (TB), Englisch
- Verlag: Wiley John + Sons
- ISBN-10: 1118612108
- ISBN-13: 9781118612101
- Erscheinungsdatum: 02.09.2013
Sprache:
Englisch
Kommentar zu "Stephens, R: Essential Algorithms"
0 Gebrauchte Artikel zu „Stephens, R: Essential Algorithms“
Zustand | Preis | Porto | Zahlung | Verkäufer | Rating |
---|
Schreiben Sie einen Kommentar zu "Stephens, R: Essential Algorithms".
Kommentar verfassen