July 2022
Intermediate to advanced
590 pages
8h 45m
English
In the previous chapter, we presented heap trees. These are close to fully balanced trees in which the largest item is always found in the root node and each node has a value greater than its children.
In this chapter, we present another balanced tree structure, the red-black tree. Like the AVL tree presented in Chapter 10, the red-black tree data structure is aimed at efficient insertion, deletion, and searching of items stored in the tree.
In the next section, we introduce red-black trees.
Read now
Unlock full access