You can say that a 3-node in a 2-3-4 tree is equivalent to a parent with a red child in a red-black tree, and a 4-node is equivalent to a parent with two red children.
可以说,2-3-4树中的3 -节点等价于红-黑树中有一个红色子节点的父节点,4 -节点等价于有两个红色子节点的父节点。
You can say that a 3-node in a 2-3-4 tree is equivalent to a parent with a red child in a red-black tree, and a 4-node is equivalent to a parent with two red children.
可以说,2-3-4树中的3 -节点等价于红-黑树中有一个红色子节点的父节点,4 -节点等价于有两个红色子节点的父节点。
应用推荐