# Algorithms and Data Structures

## The Basic Toolbox

• Kurt Mehlhorn
• Peter Sanders
Textbook

1. Front Matter
Pages I-XII
2. Pages 1-18
3. Pages 19-58
4. Pages 81-98
5. Pages 99-125
6. Pages 127-143
7. Pages 145-166
8. Pages 167-174
9. Pages 175-189
10. Pages 191-215
11. Pages 217-232
12. Pages 233-262
13. Back Matter
Pages 263-300

### Introduction

Algorithms are at the heart of every nontrivial computer application, and algorithmics is a modern and active area of computer science. Every computer scientist and every professional programmer should know about the basic algorithmic toolbox: structures that allow efficient organization and retrieval of data, frequently used algorithms, and basic techniques for modeling, understanding and solving algorithmic problems.

This book is a concise introduction addressed to students and professionals familiar with programming and basic mathematical language. Individual chapters cover arrays and linked lists, hash tables and associative arrays, sorting and selection, priority queues, sorted sequences, graph representation, graph traversal, shortest paths, minimum spanning trees, and optimization. The algorithms are presented in a modern way, with explicitly formulated invariants, and comment on recent trends such as algorithm engineering, memory hierarchies, algorithm libraries and certifying algorithms. The authors use pictures, words and high-level pseudocode to explain the algorithms, and then they present more detail on efficient implementations using real programming languages like C++ and Java.

The authors have extensive experience teaching these subjects to undergraduates and graduates, and they offer a clear presentation, with examples, pictures, informal explanations, exercises, and some linkage to the real world. Most chapters have the same basic structure: a motivation for the problem, comments on the most important applications, and then simple solutions presented as informally as possible and as formally as necessary. For the more advanced issues, this approach leads to a more mathematical treatment, including some theorems and proofs. Finally, each chapter concludes with a section on further findings, providing views on the state of research, generalizations and advanced solutions.

### Keywords

Algorithms C++ Java algorithm ants data structure data structures hash table modeling optimization programming programming language

#### Authors and affiliations

• Kurt Mehlhorn
• 1
• Peter Sanders
• 2
1. 1.Max-Planck-Institut für InformatikSaarbrückenGermany
2. 2.Universitä KarlsruheGermany

### Bibliographic information

• DOI https://doi.org/10.1007/978-3-540-77978-0
• Copyright Information Springer-Verlag Berlin Heidelberg 2008
• Publisher Name Springer, Berlin, Heidelberg
• eBook Packages Computer Science
• Print ISBN 978-3-540-77977-3
• Online ISBN 978-3-540-77978-0
• Buy this book on publisher's site