A Common-Sense Guide to Data Structures and Algorithms, Second Edition (Pragmatic Bookshelf)
Hot This:
Most Active This Week
Most Active This Month
Most Active This Year

@jaywengrow
“What is the maximum number of steps it would take to perform a binary search on an array of size 100,000?”
“To solve this,...
New
Most Active Last Three Years

Hello! Thanks for the great book.
I was attempting the Trie (chap 17) exercises and for number 4 the solution provided for the autocorre...
New

A Common-Sense Guide to Data Structures and Algorithms, Second Edition by @jaywengrow:
page 326 - missing param
on the def autocomplete...
New

At the bottom of page 96, “execute three more steps" should be “TWO more steps.” Even numbers have three steps, odd numbers have one step...
New

Hi, in page 54, there is a line that begins with “To put it this in a way that would hold true…”. I believe it should read “To put this i...
New

Book: A Common-Sense Guide to Data Structures and Algorithms, Second Edition
Page 320
Function: collectAllWords
Python Version: CPytho...
New

There are two provided implementations for the number_of_paths function. The ‘hardcoded’ version is correct, but the simplified version i...
New

The first complete paragraph on page 428 contains this phrase: “But if we make it to end of the loop…”
The word “the” is missing. The se...
New

The attached image shows the first paragraph on page 433. Toward the end of the first line, the toggling between serif and sans serif fon...
New

Maybe best case of improved Intersection Algorithm perform N2/2 comparisons: A Common-Sense Guide to Data Structures and Algorithms, Seco...
New

Hi, I believe the word “remain” in the last line of the second paragraph in page 39 should be replaced by “remains”.
New

The last paragraph of the “Change the Data Structure” section begins, “Our using of a hash table…”
Better phrasing would be “Our use of ...
New

@jaywengrow
Title: Name of book: description (page number)
Example: Programming Flutter - ‘pub get’ command not working (page 15)
In C...
New

@jaywengrow
A Common-Sense Guide to Data Structures and Algorithms - insertion at wrong index (page 140)
I tested the example of a link...
New

In the second paragraph under the heading “Wrapping Up”, this sentence:
Speaking of which, in the next chapter, we’ll discover a new dat...
New

@jaywengrow
While reading Chapter 6, I might have spotted a little error in the Insertion Sort Explanation part on page 85, where it say...
New
Most Active Over Three Years

A Common-Sense Guide to Data Structures and Algorithms, Second Edition by Jay Wengrow @jaywengrow
Hi,
I have the paperback version of t...
New

In the answers for the Chapter 13 exercises, there are several uses of JavaScript’s array.sort() to sort an array of numbers. However, th...
New

Hi @jaywengrow,
I think the table of Selection Sort shows wrong Max number of steps.
For example, for N = 5 we sould have:
Comparsion...
New

In the graph on page 41, the arrow leading from O(log n) points to the O(1) function instead of to the O(log n) function.
New

On page 331, the subtitle says “Code Implementation: Trie Search,” but the section is about insertion, so it should be “Code Implementati...
New

Title: A Common-Sense Guide to Data Structures and Algorithms, Second Edition
Example: Incorrect time complexity (page 55)
Notice the ...
New

The word “make” is omitted in the phrase “make this magic come alive” in Chapter 20. (more details in the screenshot)
New

In chapter 6,
Page 93/438.
"But now, in the best-case scenario, where the two arrays are identical, we only have to perform N compar...
New

At the bottom of page 85, “position that is greater or equal” should be “smaller”. That is, the loop should stop running once it encounte...
New

On page 91, there’s an example of an array intersection function that uses a double equals in its comparison line:
if (firstArray[i] == ...
New

Hello,
Can you please check the time complexity of “Count the Ones” on page 102? I got confused. It has 2 loops (outer and inner). Let’s...
New

In the middle of the page is this sentence:
“Once we find the 4, we can delete it one step:”
This should instead read, “Once we find th...
New

Hi Jay and Brian. This is Margaret creating a test errata post for your book to make sure that you both receive the email notifications a...
New

Title: A Common-Sense Guide to Data Structures and Algorithms, Second Edition by Jay Wengrow @jaywengrow: (chapter7_p.105)
Example: Get...
New

On page 271 the first paragraph begins, “We then take return value of lift and make it…”
This should instead read, “We then take the ret...
New
Book Info
Publisher:
Pragmatic Bookshelf
Get money off!

The Pragmatic Bookshelf
35% off any eBook
Simply use coupon code "devtalk.com" at checkout. See full details here.