The first two values in the first list shown in this figure are switched. The initial list should be 26,54,93,17,77,31, ...and so on.
Problem Solving w/ Algorithms and Data Structures (Second Edition)
Friday, January 10, 2014
Thursday, September 12, 2013
Page 124 -- Chapter 3 -- Listing 3.15
The import statement is missing the reference to the deque.py file within the pythonds package. The correct statement should be:
from python.basic.deque import Deque
This is due to an inconsistency in the implementation of the pythonds package. That has now been fixed and the new version of pythonds can be downloaded from the textbook resources on http://pythonworks.org.
Note: The new version of pythonds will allow you to import either from basic or from deque
from python.basic.deque import Deque or
from python.basic.deque import Deque
This is due to an inconsistency in the implementation of the pythonds package. That has now been fixed and the new version of pythonds can be downloaded from the textbook resources on http://pythonworks.org.
Note: The new version of pythonds will allow you to import either from basic or from deque
from python.basic.deque import Deque or
from python.basic import Deque
Monday, September 9, 2013
Chapter 3 -- Page 90
The third sentence of Section 3.3.5 should read:
The general problem of PROPERLY balancing and nesting different kinds of opening and closing symbols occurs frequently.
The general problem of PROPERLY balancing and nesting different kinds of opening and closing symbols occurs frequently.
Chapter 2 -- Page 70
The last paragraph has a bad sentence. It should read:
There are two ways to create a longer list. You can use the append method or the concatenation operator.
There are two ways to create a longer list. You can use the append method or the concatenation operator.
Chapter 1 -- Page 22
The fourth sentence has a typo...should read
"...and the session shows them in action."
"...and the session shows them in action."
Thursday, September 5, 2013
Chapter 4--Page 157--Figure 4.6
There is a very small typo in Figure 4.6. In the top rectangle, the value of n should be 2, not 5.
Subscribe to:
Posts (Atom)