Comments (3)
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.
from algoxy.
You are right.
I updated the insertion sort algorithm with this fix:
7d9891c
I'll next check the red-black tree figure issue.
from algoxy.
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
from algoxy.
Related Issues (20)
- 4.7左图的叙述有问题 HOT 2
- 构建错误 HOT 4
- 前言练习题 typo HOT 1
- 前言typo HOT 1
- typo in 1.2.5节 HOT 1
- 3.3用词商榷 HOT 2
- typo in 红黑树 HOT 1
- 4.0.2树旋转的理解 HOT 2
- typo in 4.1定义 HOT 1
- 关于红黑树的插入 HOT 1
- 红黑树删除公式4.13 HOT 2
- Contributing Counting sort HOT 1
- Contributed Counting Sort HOT 2
- Support LuaLaTex HOT 6
- Improve CN font settings HOT 2
- Improve figure quality HOT 3
- Add page break between preface and TOC HOT 1
- 想将《算法新解》重新排版,纳入到开放式结构化示例图书中 HOT 1
- Break chapter 14 - search into two chapters HOT 1
- Add page reference for answers HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from algoxy.