View Single Post
  #1 (permalink)  
Old June 11th, 2014, 11:10 AM
Rod Stephens's Avatar
Rod Stephens Rod Stephens is offline
Wrox Author
Points: 3,145, Level: 23
Points: 3,145, Level: 23 Points: 3,145, Level: 23 Points: 3,145, Level: 23
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2006
Location: , , .
Posts: 641
Thanks: 2
Thanked 96 Times in 95 Posts
Default Correction on page 36

Dipanjan pointed out a mistake in the explanation of exponentiation. The test says:

Quote:
For the previous example, the binary representation of 6 is 110 so the second and third powers of 2 are included: 2^2 and 2^4.
This should say:

Quote:
For the previous example, the binary representation of 6 is 110 so the second and third powers of 2 are included: 2^1 = 2 and 2^2 = 4.
(Here I've used ^ to mean exponentiation because the forum doesn't seem to be able to display exponents easily.)

Thanks again Dipanjan!
__________________
Rod

Rod Stephens, Microsoft MVP

Essential Algorithms: A Practical Approach to Computer Algorithms

(Please post reviews at Amazon or wherever you shop!)

Last edited by Rod Stephens; June 11th, 2014 at 11:13 AM.
Reply With Quote