A Common-Sense Guide to Data Structures and Algorithms in Python, Volume 1:

Title: A Common-Sense Guide to Data Structures and Algorithms in Python, Volume 1: terminology question (p 447)

@jaywengrow

In the Exercise solutions for Chapter 12 there’s the following text for exercise 3:

To accomplish memoization here, we need to make a key that takes into account both the number of rows as well as the number of columns. To this end, we can make our key a simple array of [rows, columns]:

It looks to me like the key isn’t an array/Python list, but rather a tuple. The distinction may not be valuable in the context of the discussion–and it may be a distraction which you are deliberately choosing to avoid here since tuples don’t appear to be mentioned in the text–but I thought I would mention it.

You are correct, and I will likely clarify. Thank you!

When will Volume 2, the beta version, be released? :slight_smile:

Hi! Not quite sure yet - I suspect that the Beta may be ready in a few months from now, but don’t hold me to that :slight_smile:

I’ve written more than half the book as a rough draft, but editing can take time…

I understand. Thank you very much! :slight_smile: