The Art of Computer Programming, Volume 3: Sorting and Searching, Second Edition by Donald E. Knuth
Author:Donald E. Knuth [Knuth, Donald E.]
Language: eng
Format: epub, pdf
Publisher: Addison-Wesley Professional
Published: 1998-11-05T23:00:00+00:00
Fig. 5. A comparison tree that corresponds to binary search when N = 16.
When N is 16, the first comparison made by the algorithm is K : K8; this is represented by the root node in the figure. Then if K < K8, the algorithm follows the left subtree, comparing K to K4; similarly if K > K8, the right subtree is used. An unsuccessful search will lead to one of the external square nodes numbered through ; for example, we reach node if and only if K6 < K < K7.
The binary tree corresponding to a binary search on N records can be constructed as follows: If N = 0, the tree is simply . Otherwise the root node is
Download
The Art of Computer Programming, Volume 3: Sorting and Searching, Second Edition by Donald E. Knuth.pdf
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Deep Learning with Python by François Chollet(12401)
Hello! Python by Anthony Briggs(9753)
OCA Java SE 8 Programmer I Certification Guide by Mala Gupta(9639)
The Mikado Method by Ola Ellnestam Daniel Brolund(9638)
Dependency Injection in .NET by Mark Seemann(9165)
Hit Refresh by Satya Nadella(8676)
Algorithms of the Intelligent Web by Haralambos Marmanis;Dmitry Babenko(8149)
A Developer's Guide to Building Resilient Cloud Applications with Azure by Hamida Rebai Trabelsi(8082)
Test-Driven iOS Development with Swift 4 by Dominik Hauser(7654)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7653)
Grails in Action by Glen Smith Peter Ledbrook(7569)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7393)
The Complete Stick Figure Physics Tutorials by Allen Sarah(6961)
The Kubernetes Operator Framework Book by Michael Dame(6832)
Exploring Deepfakes by Bryan Lyon and Matt Tora(6586)
Practical Computer Architecture with Python and ARM by Alan Clements(6541)
Implementing Enterprise Observability for Success by Manisha Agrawal and Karun Krishnannair(6527)
Robo-Advisor with Python by Aki Ranin(6513)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(6434)
