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
Most Active Last Three Years

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

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

@jaywengrow
I noticed that Ruby has a Queue implemented in the standard library, so naming our custom queue implementation Queue collide...
New
Most Active Over Three Years

Title: A Common-Sense Guide to Data Structures and Algorithms, Second Edition by @jaywengrow
In exercise #3 of chapter #7, I suggest cl...
New

Hello,
There is a way to avoid unnecessary step in exercise 4 on page 111 (ch. 7).
Since you already calculating for the array indexes ...
New

On page 265 you describe the process for moving a sucessor node that has a right child. The successor node moves into the position of the...
New

@jaywengrow
Like Quicksort, Heapsort is O(N log N). This is because we need to insert N values into the heap, and each insertion takes l...
New

On Chapter 2 - Exercise Question 3, shouldn’t we change the answer to 17 times to avoid ambiguity and to answer the question “What is the...
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.