small medium large xlarge

The latest version of the book is B2.0, released 14 days ago. If you've bought a PDF of the book and would like to update it to this version (for free), visit your home page.

By default this page displays the errata for the latest version of the book. If you have a previous version, select it here:

If you've found a new error, please submit it.

  • Typo
  • Tech. error
  • Suggestion
  • Maybe next edition
  • Not a problem
  • Reported in: B2.0 (04-Dec-19)
#86112
PDF page: 1
This is actually in the preface. Preface • xii This sentence doesn't flow right with me. It's a good sentence but you're ending a powerful paragraph ...more...
  • Reported in: B2.0 (27-Nov-19)
  • Fixed: 09-Dec-19, awaiting book release
#86081
PDF page: 2

print x[0] +y [1] + z[2] ==> print array[0] + array[1] + array[2]--Didier de Ghellinck

  • Reported in: B2.0 (07-Dec-19)
  • Fixed: 09-Dec-19, awaiting book release
#86121
PDF page: 43

In question 3 on this page, "square" is spelled "sqaure" in the following sentence:

"On the third sqaure, you put 4 grains."--Ido

  • Reported in: B2.0 (07-Dec-19)
  • Fixed: 09-Dec-19, awaiting book release
#86122
PDF page: 64
The JavaScript implementation of `Selection Sort` initializes a variable named `lowestNumberIndex` but references an undeclared `smallestNumberIndex`...more...
  • Reported in: B2.0 (07-Dec-19)
  • Fixed: 09-Dec-19, awaiting book release
#86125
PDF page: 92

In the last sentence of the first paragraph, "exception" is spelled "execption".--Ido

  • Reported in: B2.0 (07-Dec-19)
  • Fixed: 09-Dec-19, awaiting book release
#86126
PDF page: 98

Another instance of 'sqaure' instead of 'square':

The next row has N - 1 squares shaded, gray, and the one after than has N - 2 gray sqaures.--Ido

  • Reported in: B2.0 (07-Dec-19)
#86127
PDF page: 99
I'm not sure how the number of steps of Scenario #1 in the following sentence comes out to be N / 2 ^ 2. It looks like it's a simple N ^ 2: "In Sce...more...
  • Reported in: B2.0 (07-Dec-19)
  • Fixed: 09-Dec-19, awaiting book release
#86128
PDF page: 100

In the first paragraph:

1. "indentify" looks like it should be "identify"
2. "effiency" looks like it should be "efficiency"--Ido

  • Reported in: B2.0 (08-Dec-19)
  • Fixed: 09-Dec-19, awaiting book release
#86129
PDF page: 136

In the first paragraph of Queue Implementation, "implemented" appears once as "implemeneted".--Ido

  • Reported in: B2.0 (05-Dec-19)
  • Fixed: 09-Dec-19, awaiting book release
#86115
PDF page: 148
The function on the bottom of PDF page 148 is not supposed to be recursive yet. That will be shown on page 149/150 Remove the following line from t...more...
  • Reported in: B2.0 (08-Dec-19)
  • Fixed: 09-Dec-19, awaiting book release
#86131
PDF page: 159

"The" is duplicated in the following sentence: "While
we previously demonstrated the the bottom-up approach using a classic loop..."--Ido

  • Reported in: B2.0 (08-Dec-19)
  • Fixed: 09-Dec-19, awaiting book release
#86132
PDF page: 170

"Subproblem" is spelled as "subprolem" once.--Ido

  • Reported in: B2.0 (08-Dec-19)
  • Fixed: 09-Dec-19, awaiting book release
#86130
PDF page: 195

In solution #3, "the" appears twice: "...after having dequeued the the 1 and the 2."--Ido