Phu Le reported:
Quote:
I was wondering if this might be an error in your "Essential Algorithms" book.
Chapter 2, page 31, first paragraph: It says, "in this example, heads, heads, heads gives the result 111 binary or 8 decimal".
Shouldn't 111 in binary be 7 in decimal, and not 8?
|
Oops! You're right. The value 111 in binary is 7 not 8. Thanks for pointing this out!