Active Threads:
Latest Threads About This Book
![DawidKopys](https://forum.devtalk.com/user_avatar/forum.devtalk.com/DawidKopys/120/5867_2.png)
@jaywengrow
It seems that the delete method presented in this book doesn’t handle one case. This function does nothing if we try to remo...
New
![Erica](/assets/icons/user-a6c72e79442e77e2a4ab2b0f056eac06d29316214c8a3fda1563c8b881da5388.png)
Author Spotlight: Jay Wengrow (@jaywengrow)
Jay Wengrow founded Actualize, a Chicago-based coding boot camp. We recently sat down wit...
New
![JoshuaWLindsay](https://forum.devtalk.com/user_avatar/forum.devtalk.com/JoshuaWLindsay/120/5243_2.png)
@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
![Ochirsaikhan](https://forum.devtalk.com/user_avatar/forum.devtalk.com/Ochirsaikhan/120/5199_2.png)
@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
![shannonbarrera](https://forum.devtalk.com/user_avatar/forum.devtalk.com/shannonbarrera/120/4935_2.png)
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
![inreoh](https://forum.devtalk.com/user_avatar/forum.devtalk.com/inreoh/120/4917_2.png)
Chapter 19 contains:
Finally, we reach the -9. This would make the current sum -4,
Since the current sum is 6 before encountering -9,...
New
![inreoh](https://forum.devtalk.com/user_avatar/forum.devtalk.com/inreoh/120/4917_2.png)
In the graphs chapter (p. 414 in the ePub edition), the weight for the connection LA-Miami is missing:
New
![inreoh](https://forum.devtalk.com/user_avatar/forum.devtalk.com/inreoh/120/4917_2.png)
Chapter 18 contains this sentence:
Gina has two neighbors: Derek and Gina.
This should be “Gina has two neighbors: Derek and Irena.” ...
New
![inreoh](https://forum.devtalk.com/user_avatar/forum.devtalk.com/inreoh/120/4917_2.png)
The chapter “Average celsius reading” (p. 143 in the ePub edition) contains this fragment:
readings from across many thermometers acros...
New
![hayashi](/assets/icons/user-a6c72e79442e77e2a4ab2b0f056eac06d29316214c8a3fda1563c8b881da5388.png)
@jaywengrow
A Common-Sense Guide to Data Structures and Algorithms - insertion at wrong index (page 140)
I tested the example of a link...
New
Most Active This Week
Most Active This Month
Most Active This Year
![Erica](/assets/icons/user-a6c72e79442e77e2a4ab2b0f056eac06d29316214c8a3fda1563c8b881da5388.png)
Author Spotlight: Jay Wengrow (@jaywengrow)
Jay Wengrow founded Actualize, a Chicago-based coding boot camp. We recently sat down wit...
New
![JoshuaWLindsay](https://forum.devtalk.com/user_avatar/forum.devtalk.com/JoshuaWLindsay/120/5243_2.png)
@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
![DawidKopys](https://forum.devtalk.com/user_avatar/forum.devtalk.com/DawidKopys/120/5867_2.png)
@jaywengrow
It seems that the delete method presented in this book doesn’t handle one case. This function does nothing if we try to remo...
New
Most Active Last Three Years
![leba0495](https://forum.devtalk.com/user_avatar/forum.devtalk.com/leba0495/120/2808_2.png)
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
![aleksa.matiyev](/assets/icons/user-a6c72e79442e77e2a4ab2b0f056eac06d29316214c8a3fda1563c8b881da5388.png)
A Common-Sense Guide to Data Structures and Algorithms, Second Edition by @jaywengrow:
page 326 - missing param
on the def autocomplete...
New
![mattslaven](/assets/icons/user-a6c72e79442e77e2a4ab2b0f056eac06d29316214c8a3fda1563c8b881da5388.png)
At the bottom of page 96, “execute three more steps" should be “TWO more steps.” Even numbers have three steps, odd numbers have one...
New
![pjd](/assets/icons/user-a6c72e79442e77e2a4ab2b0f056eac06d29316214c8a3fda1563c8b881da5388.png)
On page 379, this part of the Dijkstra shortest path code is supposed to determine the next unvisited city to visit based on it being the...
New
![ikrom](/assets/icons/user-a6c72e79442e77e2a4ab2b0f056eac06d29316214c8a3fda1563c8b881da5388.png)
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
![paolotormon](https://forum.devtalk.com/user_avatar/forum.devtalk.com/paolotormon/120/3154_2.png)
Hi, I am trying to convert the ruby code of Quickselect into python and I noticed that I have to add return statements in the if else con...
New
![stdq](/assets/icons/user-a6c72e79442e77e2a4ab2b0f056eac06d29316214c8a3fda1563c8b881da5388.png)
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
![iwc](https://forum.devtalk.com/user_avatar/forum.devtalk.com/iwc/120/3512_2.png)
There are two provided implementations for the number_of_paths function. The ‘hardcoded’ version is correct, but the simplified version i...
New
![dillenbe](/assets/icons/user-a6c72e79442e77e2a4ab2b0f056eac06d29316214c8a3fda1563c8b881da5388.png)
Book: A Common-Sense Guide to Data Structures and Algorithms, Second Edition
Page 320
Function: collectAllWords
Python Version: CPytho...
New
![pjd](/assets/icons/user-a6c72e79442e77e2a4ab2b0f056eac06d29316214c8a3fda1563c8b881da5388.png)
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
![pjd](/assets/icons/user-a6c72e79442e77e2a4ab2b0f056eac06d29316214c8a3fda1563c8b881da5388.png)
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
![pjd](/assets/icons/user-a6c72e79442e77e2a4ab2b0f056eac06d29316214c8a3fda1563c8b881da5388.png)
Maybe you were just trying to keep the sum_swap code clean and streamlined for ease of reading, but this method didn’t seem as air-tight ...
New
![bakatsuyuki](https://forum.devtalk.com/user_avatar/forum.devtalk.com/bakatsuyuki/120/4154_2.png)
Maybe best case of improved Intersection Algorithm perform N2/2 comparisons: A Common-Sense Guide to Data Structures and Algorithms, Seco...
New
![stdq](/assets/icons/user-a6c72e79442e77e2a4ab2b0f056eac06d29316214c8a3fda1563c8b881da5388.png)
Hi, in page 42, before the line with the result of log of 64 in base 2, there is a line that reads as:
“Because we had to multiply 2 by ...
New
![stdq](/assets/icons/user-a6c72e79442e77e2a4ab2b0f056eac06d29316214c8a3fda1563c8b881da5388.png)
Hi, I believe the word “remain” in the last line of the second paragraph in page 39 should be replaced by “remains”.
New
Book Info
Publisher:
Pragmatic Bookshelf
Are you this book's author? To be notified of all posts made about it, sign up an account then click here, then select 'watching' from the bell icon in the top right corner.
Get money off!
![](/assets/discounts/logo-pragprog-e2f9c555cf054b1bd6bf9875d757a13d9eb4abb8313ffa439feabaf3ed463947.png)
The Pragmatic Bookshelf
35% off any eBook
Simply use coupon code "devtalk.com" at checkout. See full details here.