Errata
The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".
The following errata were submitted by our customers and approved as valid errors by the author or editor.
Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update
Version | Location | Description | Submitted By | Date submitted | Date corrected |
---|---|---|---|---|---|
Page 115 pseudocode for 'search' function |
The Bloom Filter Summary on page 115 uses the wrong Boolean operator in the search() function. The psuedocode shows the following line: Note from the Author or Editor: |
Benjamin Thompson | Sep 10, 2018 | ||
Page 122 Example 5-12 |
The function "contains" in example 5-12 returns true no matter what. Note from the Author or Editor: |
Hannah Lazarus | Jul 30, 2017 | ||
Printed | Page 148 Algorithm summary |
The summary (pseudo-code) of Dijkstra's algorithm does not keep track of processed/visited nodes. Note from the Author or Editor: |
Anonymous | Jun 26, 2016 | |
Printed | Page 155 Bellman-Ford Summary |
The pseudo-code in the summary does not explain that 'n' actually represents the number of verticies. Note from the Author or Editor: |
Anonymous | Jun 27, 2016 | |
Page 195 Example 7-6. Depth-First Search implementation |
Typos: Note from the Author or Editor: |
Serhii Io | Nov 13, 2017 | ||
Page 1899 |
At location 1899 in the MOBI version of the book, in the Grahamscan implementation, the code computes polar angles using the formula Math.atan2( pts[ n-2]. getY() - lowest, pts[ n-2]. getX() - pts[ n-1]. getX());. However, the variable lowest indexes the pts array. The variable used here should be lowestY or the code should instead use pts[lowest].getY(). Note from the Author or Editor: |
lpowell | Jan 08, 2017 |