You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @liuxinyu95 ,
Thanks for this open-source algorithm book. I am reading it and find an incorrect if statement condition in Insertion Sort Improvement 2.
And the Red-Black tree in Figure 3.4: An example red-black tree is not correct. The leaf (NIL) isn't drawn as black as shown in the wiki page: https://en.wikipedia.org/wiki/File:Red-black_tree_example.svg
It leads to confusion when I read the properties and the example shown in Figure 3.4.
I added a figure to shown the NIL nodes, then explain the reason why we'll ignore the black NIL nodes in the rest of the book. See the following commit: 8da19de
Here is the sample chapter with this change. rbtree-en.pdf
Hi @liuxinyu95 ,
Thanks for this open-source algorithm book. I am reading it and find an incorrect if statement condition in Insertion Sort Improvement 2.
Best Regards,
The text was updated successfully, but these errors were encountered: