concept this node in category algorithms
appears as: this node

This is an excerpt from Manning's book Algorithms and Data Structures in Action.
#4 If the highest priority child has higher priority than the current element…
#6 Following the recursive definition of this method, we need to insert tail in the subtree referenced by the edge marked with character c.
Figure 9.5 The first 2 steps of constructing a k-d tree for our map of DC cities.
(Left) First we split vertically with pivot “Opal City”, which becomes the root of the k-d tree. Vertical splits are drawn in red, as well as edges corresponding to vertical splits. The background of each tree node is filled with the colors of the regions the node covers, so the root is half green and half yellow, because it covers both partitions created with its pivot.
(Right) The right partition (created by the root) is further split, along a horizontal line passing through our second pivot, “Civic City”, so in the BST we add a right child to the root. This node corresponds to another split into a top and bottom sub-region. Horizontal splits are drawn in blue, as well as corresponding edges in the tree.![]()