The Art of Computer Programming, Volume 3

Art of Computer Programming, Volume 3

The Art of Computer Programming, Volume 3

  • Title: The Art of Computer Programming, Volume 3
  • By: Donald E. Knuth
  • Format: eBook, 800 pages
  • ISBN: 0-201-89685-0 | 978-0-201-89685-5
  • Edition: Second (2nd)

The Art of Computer Programming, Volume 3

Sorting and Searching


In keeping with the authoritative character of the other two volumes in the “Art of Computer Programming” series, in this book too, all historical information about previous work in the field has been updated where necessary. Hundreds of new exercises have been added to raise new challenges.

This third volume is the most comprehensive survey of classical computer techniques for sorting and searching. It extends the treatment of data structures in Volume I to consider both large and small databases and internal and external memories. This book contains a selection of carefully checked computer methods, with a quantitative analysis of their efficiency. Outstanding features of the second edition include a revised section on optimum sorting and new discussions of the theory of permutations and of universal handling.

Table of Contents

5. Sorting.

Combinatorial Properties of Permutations.
Permutations of a Multiset.
Tableaux and Involutions.
Internal sorting.
Sorting by Insertion.
Sorting by Exchanging.
Sorting by Selection.
Sorting by Merging.
Sorting by Distribution.
Optimum Sorting.
Minimum-Comparison Sorting.
Minimum-Comparison Merging.
Minimum-Comparison Selection.
Networks for Sorting.
External Sorting.
Multiway Merging and Replacement Selection.
The Polyphase Merge.
The Cascade Merge.
Reading Tape Backwards.
The Oscillating Sort.
Practical Considerations for Tape Merging.
External Radix Sorting.
Two-Tape Sorting.
Disks and Drums.
Summary, History, and Bibliography.

6. Searching.

Sequential Searching.
Searching by Comparison of Keys.
Searching an Ordered Table.
Binary Tree Searching.
Balanced Trees.
Multiway Trees.
Digital Searching.
Retrieval on Secondary Keys.

Answers to Exercises.

Appendix A: Tables of Numerical Quantities.

Fundamental Constants (decimal).
Fundamental Constants (octal).
Harmonic Numbers, Bernoulli Numbers, Fibonacci Numbers.

Appendix B: Index to Notations.

Index and Glossary. 0201896850T04062001

Author Bios

Donald E. Knuth is known throughout the world for his pioneering work on algorithms and programming techniques, for his invention of the Tex and Metafont systems for computer typesetting, and for his prolific and influential writing. Professor Emeritus of The Art of Computer Programming at Stanford University, he currently devotes full time to the completion of these fascicles and the seven volumes to which they belong.

Backcover Copy

The bible of all fundamental algorithms and the work that taught many of today’s software developers most of what they know about computer programming.

Byte, September 1995

I can’t begin to tell you how many pleasurable hours of study and recreation they have afforded me! I have pored over them in cars, restaurants, at work, at home… and even at a Little League game when my son wasn’t in the line-up.

—Charles Long

If you think you’re a really good programmer… read [Knuth's] Art of Computer Programming… You should definitely send me a resume if you can read the whole thing.

—Bill Gates

It’s always a pleasure when a problem is hard enough that you have to get the Knuths off the shelf. I find that merely opening one has a very useful terrorizing effect on computers.

—Jonathan Laventhol


To download an eBook version of The Art of Computer Programming, Volume 3: Sorting and Searching, Second Edition in PDF format for free please click the download link provided below.


Like this book! You may buy a paperback edition of The Art of Computer Programming, Volume 3: Sorting and Searching (2nd Edition)from Amazon to enrich your library collection.

Your rating:
1 Star2 Stars3 Stars4 Stars5 Stars (6 votes, average: 5.00 out of 5)

Loading ... Loading …


Speak Your Mind